PRQL / prql

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement
https://prql-lang.org
Apache License 2.0
9.58k stars 208 forks source link

perf: Redo benchmarks #4654

Closed max-sixty closed 1 week ago

max-sixty commented 1 week ago

Haven't touched these in years and wanted to check that the parser changes don't have any perf impact.

Running something like cargo bench --bench=bench -- prql_to_pl --quick will quickly time how long it takes to parse each of our canonical queries.

One tradeoff is that changing our canonical queries means that the benchmarks don't compare through time. So possibly we should have a couple we try and almost never change...