Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Benchmark expression evaluation #9370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivov
Copy link
Contributor

@ivov ivov commented May 13, 2024

No description provided.

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels May 13, 2024
Copy link

codspeed-hq bot commented May 13, 2024

CodSpeed Performance Report

Congrats! CodSpeed is installed 🎉

🆕 47 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

  • = {{$json["dig check CF"].data["stdout"]}} (2.3 ms)
  • =TRUE (2.3 ms)
  • =https://example.com/api/v1/workspaces/{{$json["Clockify1"].parameter["workspaceId"]}}/projects/{{$json["Clockify1"].json["id"]}} (2.4 ms)
  • =https://example.com/test?id={{$json["Crypto"].json["data"].substr(0,6)}} (2.3 ms)
  • ={ (2.4 ms)
  • ={{ !!$json["different"]["name"] || !!$json["different"]["phone"] }} (2.3 ms)
  • ={{ !$json?.data?.data?.issues?.pageInfo?.hasNextPage }} (2.3 ms)
  • ={{ $json.toString() }} (4.2 ms)
  • ={{ $json?.data == undefined ? '' : $json.data }} (2.3 ms)
  • ={{ $json["body"]["project"]["name"].match(/\[(\d+)]/)[1] }} (2.3 ms)
  • ={{ $json["data"]["errors"] && $json["data"]["errors"].length > 0 }} (2.3 ms)
  • ={{ $json["phone"] ?? 0}} (2.3 ms)
  • ={{ $json["projectName"] == "" ? "Project Group " + ($json["projectsCount"] + 1) : $json["projectName"] }} (2.4 ms)
  • ={{ $json["test"] }} (2.3 ms)
  • ={{ 'domain' in $json && $json.domain != null}} (2.3 ms)
  • ={{ (parseFloat($json["Bid"].replace(',', '.')) * parseFloat($json["Baserow"].json["Count"])).toFixed(2) }} (2.4 ms)
  • ={{ String("testing").length }} (2.3 ms)
  • ={{ [].concat($json["Create or update"].json["vid"]) }} (2.3 ms)
  • ={{ [{'name': 'something', 'batch_size':1000, 'ignore_cols':['x']}] }} (2.3 ms)
  • ={{ test` (2.3 ms)
  • ={{ new String().toString() }} (2.3 ms)
  • ={{ { "data": $json.body.choices } }} (2.3 ms)
  • ={{!!$json["data"]["errors"]}} (2.3 ms)
  • ={{$item(0).$json["Set URL"].json["base_domain"]}}{{$json["link"]}} (3.4 ms)
  • ={{$json.assetValue * $json.value / 100}} (2.3 ms)
  • ={{$json["Find by ID"].json["id"] != "" && $json["Find by ID"].json["id"] != null && $json["Find by ID"].json["id"] != undefined}} (2.4 ms)
  • ={{$json["Find by ID1"].json["fields"]["clicks"]+1}} (2.3 ms)
  • ={{$json["GetTicket"].json["tickets"].length}} (2.3 ms)
  • ={{$json["HTTP Request"].json["paging"] ? true : false}} (2.3 ms)
  • ={{$json["contact"]["FirstName"]}} (2.7 ms)
  • ={{$json["get"].json["recipes"][0]["image"]}} (2.3 ms)
  • ={{$json["test"].json["message"]["message_id"]}} (2.3 ms)
  • ={{$json["图片数量判断"].data["imgList"][0]}} (2.3 ms)
  • ={{$json[$json["Set2"].json["apiKey"]]}} (2.4 ms)
  • ={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ new String('test').toString()}} (2.3 ms)
  • ={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ parseInt($json.test)}} (2.4 ms)
  • ={{$runIndex}} (2.3 ms)
  • ={{(Date.parse($json["IF Zoom meeting"].json["end"]["dateTime"])-Date.parse($json["IF Zoom meeting"].json["start"]["dateTime"]))/(60*1000)}} (2.4 ms)
  • ={{(new Date($json["end"]["date"]).getTime() - new Date($json["start"]["date"]).getTime()) / (1000 * 3600 * 24)}} (2.4 ms)
  • ={{/^\d+$/.test($json["search_term"])}} (2.3 ms)
  • ={{200}} (2.3 ms)
  • ={{Math.floor(Math.min(1, 2) * 100);}} (2.4 ms)
  • ={{Math.min(1, 2);}} (2.3 ms)
  • ={{asdas}} (2.3 ms)
  • ={{new Date($json["created_at"]).toISOString()}} (2.4 ms)
  • ={{new String().toString();}} (2.3 ms)
  • ={{typeof $json["person"].json["name"] != "undefined"}} (2.3 ms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant