theseus-rs / rsql

Command line interface for CockroachDB, DuckDB, LibSQL, MariaDB, MySQL, PostgreSQL, Redshift, Snowflake, SQLite3 and SQL Server
https://theseus-rs.github.io/rsql/rsql_cli/
Apache License 2.0
129 stars 5 forks source link

refactor: optimize metadata to only retrieve the current schema #167

Closed brianheineman closed 4 months ago

github-actions[bot] commented 4 months ago

🐰Bencher

ReportSun, July 7, 2024 at 01:10:35 UTC
Projecttheseus-rs/rsql
Branchoptimize-schema-metadata
Testbedlocalhost

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

  • Latency (latency)

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
BenchmarkLatencyLatency Results
nanoseconds (ns)
duckdb➖ (view plot)7,252,700.00
postgres-embedded➖ (view plot)804,590,000.00
postgresql-embedded➖ (view plot)801,880,000.00
rusqlite➖ (view plot)3,552,700.00
sqlite➖ (view plot)3,855,400.00

Bencher - Continuous Benchmarking
View Public Perf Page
Docs | Repo | Chat | Help
codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 90.00000% with 2 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@fa8da7e). Learn more about missing BASE report.

Files Patch % Lines
rsql_drivers/src/duckdb/metadata.rs 75.00% 1 Missing :warning:
rsql_drivers/src/sqlite/metadata.rs 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #167 +/- ## ======================================= Coverage ? 94.83% ======================================= Files ? 94 Lines ? 11049 Branches ? 0 ======================================= Hits ? 10478 Misses ? 571 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.