Avatar for the n8n-io user
n8n-io
n8n
BlogDocsChangelog

perf: Test variance for expression evaluation benchmarks (do not merge)

#9371Closed
Comparing
test-variance-for-expression-evaluation-benchmarks
(
b263c0f
) with
benchmark-expression-evaluation
(
a9ea2fe
)
CodSpeed Performance Gauge
-46%
Improvements
1
Regressions
1
Untouched
45
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

={{$json["get"].json["recipes"][0]["image"]}}Regression
packages/workflow/dist/test/benchmark.js::={{$json["get"].json["recipes"][0]["image"]}}
CodSpeed Performance Gauge
-46%
597.1 µs
1,104.2 µs

Improved

={{ $json.toString() }}
packages/workflow/dist/test/benchmark.js::={{ $json.toString() }}
CodSpeed Performance Gauge
+85%
1,105.7 µs
596.9 µs

Passed

={{ { "data": $json.body.choices } }}
packages/workflow/dist/test/benchmark.js::={{ { "data": $json.body.choices } }}
CodSpeed Performance Gauge
+1%
599.6 µs
594.5 µs
={{!!$json["data"]["errors"]}}
packages/workflow/dist/test/benchmark.js::={{!!$json["data"]["errors"]}}
CodSpeed Performance Gauge
+1%
597.1 µs
593.4 µs
={{ $json["projectName"] == "" ? "Project Group " + ($json["projectsCount"] + 1) : $json["projectName"] }}
packages/workflow/dist/test/benchmark.js::={{ $json["projectName"] == "" ? "Project Group " + ($json["projectsCount"] + 1) : $json["projectName"] }}
CodSpeed Performance Gauge
+1%
600.2 µs
597 µs
={{ $json["body"]["project"]["name"].match(/\[(\d+)]/)[1] }}
packages/workflow/dist/test/benchmark.js::={{ $json["body"]["project"]["name"].match(/\[(\d+)]/)[1] }}
CodSpeed Performance Gauge
0%
599.4 µs
596.5 µs
={{new String().toString();}}
packages/workflow/dist/test/benchmark.js::={{new String().toString();}}
CodSpeed Performance Gauge
0%
593.8 µs
591 µs
=TRUE
packages/workflow/dist/test/benchmark.js::=TRUE
CodSpeed Performance Gauge
0%
577.7 µs
575.8 µs
={{ String("testing").length }}
packages/workflow/dist/test/benchmark.js::={{ String("testing").length }}
CodSpeed Performance Gauge
0%
592.3 µs
590.4 µs
={{ $json["data"]["errors"] && $json["data"]["errors"].length > 0 }}
packages/workflow/dist/test/benchmark.js::={{ $json["data"]["errors"] && $json["data"]["errors"].length > 0 }}
CodSpeed Performance Gauge
0%
595.9 µs
594.6 µs
={{$json["HTTP Request"].json["paging"] ? true : false}}
packages/workflow/dist/test/benchmark.js::={{$json["HTTP Request"].json["paging"] ? true : false}}
CodSpeed Performance Gauge
0%
595.2 µs
594 µs
={{200}}
packages/workflow/dist/test/benchmark.js::={{200}}
CodSpeed Performance Gauge
0%
584.7 µs
583.6 µs
={{$json.assetValue * $json.value / 100}}
packages/workflow/dist/test/benchmark.js::={{$json.assetValue * $json.value / 100}}
CodSpeed Performance Gauge
0%
595.6 µs
594.4 µs
={{$json["Find by ID1"].json["fields"]["clicks"]+1}}
packages/workflow/dist/test/benchmark.js::={{$json["Find by ID1"].json["fields"]["clicks"]+1}}
CodSpeed Performance Gauge
0%
595 µs
593.8 µs
={{ [].concat($json["Create or update"].json["vid"]) }}
packages/workflow/dist/test/benchmark.js::={{ [].concat($json["Create or update"].json["vid"]) }}
CodSpeed Performance Gauge
0%
597.2 µs
596.2 µs
={{ (parseFloat($json["Bid"].replace(',', '.')) * parseFloat($json["Baserow"].json["Count"])).toFixed(2) }}
packages/workflow/dist/test/benchmark.js::={{ (parseFloat($json["Bid"].replace(',', '.')) * parseFloat($json["Baserow"].json["Count"])).toFixed(2) }}
CodSpeed Performance Gauge
0%
606.7 µs
605.8 µs
={{asdas}}
packages/workflow/dist/test/benchmark.js::={{asdas}}
CodSpeed Performance Gauge
0%
588.2 µs
587.3 µs
={{ [{'name': 'something', 'batch_size':1000, 'ignore_cols':['x']}] }}
packages/workflow/dist/test/benchmark.js::={{ [{'name': 'something', 'batch_size':1000, 'ignore_cols':['x']}] }}
CodSpeed Performance Gauge
0%
590.4 µs
589.6 µs
={
packages/workflow/dist/test/benchmark.js::={
CodSpeed Performance Gauge
0%
615.3 µs
614.5 µs
={{$json["contact"]["FirstName"]}}
packages/workflow/dist/test/benchmark.js::={{$json["contact"]["FirstName"]}}
CodSpeed Performance Gauge
0%
712.8 µs
712.4 µs
={{$json["test"].json["message"]["message_id"]}}
packages/workflow/dist/test/benchmark.js::={{$json["test"].json["message"]["message_id"]}}
CodSpeed Performance Gauge
0%
595.9 µs
595.7 µs
={{$json["图片数量判断"].data["imgList"][0]}}
packages/workflow/dist/test/benchmark.js::={{$json["图片数量判断"].data["imgList"][0]}}
CodSpeed Performance Gauge
0%
595.8 µs
595.5 µs
={{Math.floor(Math.min(1, 2) * 100);}}
packages/workflow/dist/test/benchmark.js::={{Math.floor(Math.min(1, 2) * 100);}}
CodSpeed Performance Gauge
0%
603 µs
602.8 µs
={{typeof $json["person"].json["name"] != "undefined"}}
packages/workflow/dist/test/benchmark.js::={{typeof $json["person"].json["name"] != "undefined"}}
CodSpeed Performance Gauge
0%
594.4 µs
594.3 µs
= {{$json["dig check CF"].data["stdout"]}}
packages/workflow/dist/test/benchmark.js::= {{$json["dig check CF"].data["stdout"]}}
CodSpeed Performance Gauge
0%
599.5 µs
599.4 µs
={{ $json?.data == undefined ? '' : $json.data }}
packages/workflow/dist/test/benchmark.js::={{ $json?.data == undefined ? '' : $json.data }}
CodSpeed Performance Gauge
0%
593.8 µs
593.7 µs
={{ 'domain' in $json && $json.domain != null}}
packages/workflow/dist/test/benchmark.js::={{ 'domain' in $json && $json.domain != null}}
CodSpeed Performance Gauge
0%
594.4 µs
594.3 µs
={{$json["GetTicket"].json["tickets"].length}}
packages/workflow/dist/test/benchmark.js::={{$json["GetTicket"].json["tickets"].length}}
CodSpeed Performance Gauge
0%
594.8 µs
594.7 µs
={{ new String().toString() }}
packages/workflow/dist/test/benchmark.js::={{ new String().toString() }}
CodSpeed Performance Gauge
0%
602.6 µs
602.6 µs
={{$item(0).$json["Set URL"].json["base_domain"]}}{{$json["link"]}}
packages/workflow/dist/test/benchmark.js::={{$item(0).$json["Set URL"].json["base_domain"]}}{{$json["link"]}}
CodSpeed Performance Gauge
0%
809.7 µs
809.8 µs
=https://example.com/api/v1/workspaces/{{$json["Clockify1"].parameter["workspaceId"]}}/projects/{{$json["Clockify1"].json["id"]}}
packages/workflow/dist/test/benchmark.js::=https://example.com/api/v1/workspaces/{{$json["Clockify1"].parameter["workspaceId"]}}/projects/{{$json["Clockify1"].json["id"]}}
CodSpeed Performance Gauge
0%
610.4 µs
610.6 µs
={{$runIndex}}
packages/workflow/dist/test/benchmark.js::={{$runIndex}}
CodSpeed Performance Gauge
0%
589.5 µs
589.9 µs
={{$json[$json["Set2"].json["apiKey"]]}}
packages/workflow/dist/test/benchmark.js::={{$json[$json["Set2"].json["apiKey"]]}}
CodSpeed Performance Gauge
0%
601.2 µs
601.7 µs
={{ !$json?.data?.data?.issues?.pageInfo?.hasNextPage }}
packages/workflow/dist/test/benchmark.js::={{ !$json?.data?.data?.issues?.pageInfo?.hasNextPage }}
CodSpeed Performance Gauge
0%
594.8 µs
595.8 µs
=https://example.com/test?id={{$json["Crypto"].json["data"].substr(0,6)}}
packages/workflow/dist/test/benchmark.js::=https://example.com/test?id={{$json["Crypto"].json["data"].substr(0,6)}}
CodSpeed Performance Gauge
0%
599.8 µs
600.9 µs
={{new Date($json["created_at"]).toISOString()}}
packages/workflow/dist/test/benchmark.js::={{new Date($json["created_at"]).toISOString()}}
CodSpeed Performance Gauge
0%
604.2 µs
605.6 µs
={{ $json["test"] }}
packages/workflow/dist/test/benchmark.js::={{ $json["test"] }}
CodSpeed Performance Gauge
0%
597.1 µs
598.6 µs
={{/^\d+$/.test($json["search_term"])}}
packages/workflow/dist/test/benchmark.js::={{/^\d+$/.test($json["search_term"])}}
CodSpeed Performance Gauge
0%
594.8 µs
596.3 µs
={{$json["Find by ID"].json["id"] != "" && $json["Find by ID"].json["id"] != null && $json["Find by ID"].json["id"] != undefined}}
packages/workflow/dist/test/benchmark.js::={{$json["Find by ID"].json["id"] != "" && $json["Find by ID"].json["id"] != null && $json["Find by ID"].json["id"] != undefined}}
CodSpeed Performance Gauge
0%
599 µs
600.8 µs
={{ $json["phone"] ?? 0}}
packages/workflow/dist/test/benchmark.js::={{ $json["phone"] ?? 0}}
CodSpeed Performance Gauge
0%
596.5 µs
598.9 µs
={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ new String('test').toString()}}
packages/workflow/dist/test/benchmark.js::={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ new String('test').toString()}}
CodSpeed Performance Gauge
0%
598 µs
600.8 µs
={{ !!$json["different"]["name"] || !!$json["different"]["phone"] }}
packages/workflow/dist/test/benchmark.js::={{ !!$json["different"]["name"] || !!$json["different"]["phone"] }}
CodSpeed Performance Gauge
-1%
595.1 µs
598.2 µs
={{ `test
packages/workflow/dist/test/benchmark.js::={{ `test
CodSpeed Performance Gauge
-1%
585.2 µs
588.3 µs
={{Math.min(1, 2);}}
packages/workflow/dist/test/benchmark.js::={{Math.min(1, 2);}}
CodSpeed Performance Gauge
-1%
597.7 µs
601.2 µs
={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ parseInt($json.test)}}
packages/workflow/dist/test/benchmark.js::={{$json['Webhook1'].json["headers"]["x-api-key"] +'-'+ parseInt($json.test)}}
CodSpeed Performance Gauge
-1%
600.1 µs
604 µs
={{(Date.parse($json["IF Zoom meeting"].json["end"]["dateTime"])-Date.parse($json["IF Zoom meeting"].json["start"]["dateTime"]))/(60*1000)}}
packages/workflow/dist/test/benchmark.js::={{(Date.parse($json["IF Zoom meeting"].json["end"]["dateTime"])-Date.parse($json["IF Zoom meeting"].json["start"]["dateTime"]))/(60*1000)}}
CodSpeed Performance Gauge
-1%
606.7 µs
612 µs
={{(new Date($json["end"]["date"]).getTime() - new Date($json["start"]["date"]).getTime()) / (1000 * 3600 * 24)}}
packages/workflow/dist/test/benchmark.js::={{(new Date($json["end"]["date"]).getTime() - new Date($json["start"]["date"]).getTime()) / (1000 * 3600 * 24)}}
CodSpeed Performance Gauge
-1%
603.6 µs
609.1 µs

Commits

Click on a commit to change the comparison range
Base
benchmark-expression-evaluation
a9ea2fe
-46%
perf: Test variance for expression evaluation benchmarks
b263c0f
8 months ago
by ivov
Home Terms PrivacyDocs