tweag / nickel

Better configuration for less
https://nickel-lang.org/
MIT License
2.43k stars 93 forks source link

[RFC007] Add a builder module for the new AST #2085

Closed yannham closed 1 week ago

yannham commented 3 weeks ago

This PR copies term::make::builder to bytecode::ast::builder and change it to make it support building fields and records for the new AST.

This PR has been split as an independent and reasonably-sized change from #2083.

github-actions[bot] commented 3 weeks ago

🐰 Bencher Report

Branch2085/merge
Testbedubuntu-latest

⚠️ WARNING: The following Measure does not have a Threshold. Without a Threshold, no Alerts will ever be generated!

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds CLI flag.

Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
fibonacci 10📈 view plot
⚠️ NO THRESHOLD
494,060.00
foldl arrays 50📈 view plot
⚠️ NO THRESHOLD
1,801,200.00
foldl arrays 500📈 view plot
⚠️ NO THRESHOLD
6,907,100.00
foldr strings 50📈 view plot
⚠️ NO THRESHOLD
7,259,200.00
foldr strings 500📈 view plot
⚠️ NO THRESHOLD
64,663,000.00
generate normal 250📈 view plot
⚠️ NO THRESHOLD
47,454,000.00
generate normal 50📈 view plot
⚠️ NO THRESHOLD
2,196,300.00
generate normal unchecked 1000📈 view plot
⚠️ NO THRESHOLD
3,284,100.00
generate normal unchecked 200📈 view plot
⚠️ NO THRESHOLD
760,740.00
pidigits 100📈 view plot
⚠️ NO THRESHOLD
3,231,400.00
pipe normal 20📈 view plot
⚠️ NO THRESHOLD
1,501,300.00
pipe normal 200📈 view plot
⚠️ NO THRESHOLD
10,554,000.00
product 30📈 view plot
⚠️ NO THRESHOLD
835,360.00
scalar 10📈 view plot
⚠️ NO THRESHOLD
1,529,600.00
sum 30📈 view plot
⚠️ NO THRESHOLD
836,700.00
🐰 View full continuous benchmarking report in Bencher
github-actions[bot] commented 1 week ago

🐰 Bencher Report

Branchrfc007/term-builder
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencynanoseconds (ns)
fibonacci 10📈 view plot
🚷 view threshold
492,340.00
foldl arrays 50📈 view plot
🚷 view threshold
1,655,800.00
foldl arrays 500📈 view plot
🚷 view threshold
6,650,900.00
foldr strings 50📈 view plot
🚷 view threshold
6,948,300.00
foldr strings 500📈 view plot
🚷 view threshold
61,745,000.00
generate normal 250📈 view plot
🚷 view threshold
44,141,000.00
generate normal 50📈 view plot
🚷 view threshold
2,002,100.00
generate normal unchecked 1000📈 view plot
🚷 view threshold
3,301,200.00
generate normal unchecked 200📈 view plot
🚷 view threshold
751,330.00
pidigits 100📈 view plot
🚷 view threshold
3,199,800.00
pipe normal 20📈 view plot
🚷 view threshold
1,485,900.00
pipe normal 200📈 view plot
🚷 view threshold
9,884,500.00
product 30📈 view plot
🚷 view threshold
836,040.00
scalar 10📈 view plot
🚷 view threshold
1,519,500.00
sum 30📈 view plot
🚷 view threshold
830,620.00
🐰 View full continuous benchmarking report in Bencher