Skip to content

✅ test(mq-lang): add integration tests for built-in functions#1615

Merged
harehare merged 1 commit intomainfrom
test/add-builtin-integration-tests
Apr 19, 2026
Merged

✅ test(mq-lang): add integration tests for built-in functions#1615
harehare merged 1 commit intomainfrom
test/add-builtin-integration-tests

Conversation

@harehare
Copy link
Copy Markdown
Owner

No description provided.

Add comprehensive test cases covering arithmetic, string, array, dict,
markdown, selector, and parsing built-ins (negate, div, gte, lte, ne,
csv/json/yaml/toml/xml parse, and/or/coalesce, sort, uniq, compact,
utf8bytelen, rindex, explode, implode, capture, gsub, regex_match,
slice, diff, to_md_*, to_h/hr/strong/em/link/image/math, selectors, etc.).
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 19, 2026

Merging this PR will improve performance by 13.18%

⚡ 12 improved benchmarks
✅ 17 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
eval_array_fold 9.1 ms 8.3 ms +10.32%
eval_csv_parse 8.5 ms 7.5 ms +13.18%
eval_string_equality 7.8 ms 6.9 ms +13.02%
eval_long_pipeline 9.2 ms 8.4 ms +10.31%
eval_pipeline_with_conditionals 8.2 ms 7.3 ms +11.6%
eval_foreach 8.1 ms 7.3 ms +11.5%
eval_json_parse 7.9 ms 7 ms +13.14%
eval_object_field_access 8.3 ms 7.5 ms +11.46%
eval_qualified_access_to_csv_module 8.5 ms 7.5 ms +13.16%
eval_yaml_parse 8.6 ms 7.6 ms +12.97%
eval_nested_object_access 7.7 ms 6.8 ms +12.36%
eval_nodes 7.2 ms 6.4 ms +12.97%

Comparing test/add-builtin-integration-tests (4351030) with main (e1a2f1f)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (ac426ec) during the generation of this report, so e1a2f1f was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@harehare harehare merged commit dcf5369 into main Apr 19, 2026
6 checks passed
@harehare harehare deleted the test/add-builtin-integration-tests branch April 19, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant