trickstercache / trickster

Open Source HTTP Reverse Proxy Cache and Time Series Dashboard Accelerator
https://trickstercache.org
Apache License 2.0
1.98k stars 177 forks source link

SQL Parser Performance #731

Closed jranson closed 1 month ago

jranson commented 1 month ago

This patch improves the SQL Lexer/Parser performance by refactoring from the previous scheme of concurrent lexing/parsing via channels to a lex-then-parse scheme that is more performant due to a 100% removal of channels in the request path.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10374393449

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/parsing/run_state.go 8 9 88.89%
<!-- Total: 31 32 96.88% -->
Files with Coverage Reduction New Missed Lines %
pkg/parsing/run_state.go 1 97.62%
pkg/cache/bbolt/bbolt.go 4 88.55%
<!-- Total: 5 -->
Totals Coverage Status
Change from base Build 9143081403: -0.02%
Covered Lines: 17681
Relevant Lines: 19868

💛 - Coveralls