Avatar for the harehare user
harehare
mq
BlogDocsChangelog

✨ feat(lang): optimize builtin function initialization and organization

#614Merged
Comparing
feat/optimize-builtin-functions
(
045e6a0
) with
main
(
ce8b377
)
CodSpeed Performance Gauge
0%
Untouched
14

Benchmarks

Passed

eval_while_speed_test
crates/mq-lang/benches/benchmark.rs::eval_while_speed_test
CodSpeed Performance Gauge
+1%
20.9 ms20.6 ms
eval_until_speed_test
crates/mq-lang/benches/benchmark.rs::eval_until_speed_test
CodSpeed Performance Gauge
+1%
19 ms18.8 ms
eval_fibonacci
crates/mq-lang/benches/benchmark.rs::eval_fibonacci
CodSpeed Performance Gauge
+1%
61.2 ms60.6 ms
eval_json_parse
crates/mq-lang/benches/benchmark.rs::eval_json_parse
CodSpeed Performance Gauge
+1%
14.2 ms14.1 ms
eval_foreach
crates/mq-lang/benches/benchmark.rs::eval_foreach
CodSpeed Performance Gauge
+1%
5.2 ms5.2 ms
eval_yaml_parse
crates/mq-lang/benches/benchmark.rs::eval_yaml_parse
CodSpeed Performance Gauge
0%
32.4 ms32.3 ms
eval_boolean_folding
crates/mq-lang/benches/benchmark.rs::eval_boolean_folding
CodSpeed Performance Gauge
0%
186.8 µs186.4 µs
parse_fibonacci
crates/mq-lang/benches/benchmark.rs::parse_fibonacci
CodSpeed Performance Gauge
0%
113.2 µs113.1 µs
eval_csv_parse
crates/mq-lang/benches/benchmark.rs::eval_csv_parse
CodSpeed Performance Gauge
0%
11.5 ms11.5 ms
eval_comparison_folding
crates/mq-lang/benches/benchmark.rs::eval_comparison_folding
CodSpeed Performance Gauge
0%
366.7 µs366.5 µs
eval_nodes
crates/mq-lang/benches/benchmark.rs::eval_nodes
CodSpeed Performance Gauge
0%
4.4 ms4.4 ms
eval_dead_code_elimination_benchmark
crates/mq-lang/benches/benchmark.rs::eval_dead_code_elimination_benchmark
CodSpeed Performance Gauge
0%
161.8 µs162 µs
eval_string_interpolation
crates/mq-lang/benches/benchmark.rs::eval_string_interpolation
CodSpeed Performance Gauge
0%
62 µs62.2 µs
eval_select_h
crates/mq-lang/benches/benchmark.rs::eval_select_h
CodSpeed Performance Gauge
0%
211.3 µs212.3 µs

Commits

Click on a commit to change the comparison range
Base
main
ce8b377
-27.09%
✨ feat(lang): optimize builtin function initialization and organization - Reorganize imports in builtin.rs for better code structure - Refactor BUILTIN_FUNCTIONS initialization from large static map to modular create_builtin_functions approach - Split builtin functions into logical categories: core, array, string manipulation, type conversion, date/time, encoding, regex, and markdown - Improve code maintainability by separating function definitions from registration logic - Add helper functions for better code organization - Enhance env.rs with improved function handling capabilities - Optimize optimizer.rs with better variable and function name handling
7a809cc
2 days ago
by harehare
+0.05%
✨ feat(builtin): optimize function retrieval using FNV-1a hash for improved performance
6aed8a4
2 days ago
by harehare
+0.19%
✨ feat(builtin): update FNV-1a hash implementation to 64-bit for improved hash distribution
af10b3c
2 days ago
by harehare
+27.13%
✨ feat(builtin): add name field to BuiltinFunction and update define_builtin macro for better function identification
045e6a0
1 day ago
by harehare
© 2025 CodSpeed Technology
Home Terms Privacy Docs