MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / source_model

Method source_model

xtask/src/main.rs:3960–3969  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3958
3959impl SpeedSqlSource {
3960 fn source_model(self) -> &'static str {
3961 match self {
3962 SpeedSqlSource::Generated => {
3963 "Mirrors the two PGlite benchmark families documented at https://pglite.dev/benchmarks: trimmed-average CRUD round-trip microbenchmarks and a SQLite speedtest-style SQL suite. The speed suite is generated locally instead of vendoring PGlite's generated SQL files."
3964 }
3965 SpeedSqlSource::PgliteVendored => {
3966 "Mirrors the two PGlite benchmark families documented at https://pglite.dev/benchmarks: trimmed-average CRUD round-trip microbenchmarks and the exact SQL files from assets/checkouts/pglite/packages/benchmark/src."
3967 }
3968 }
3969 }
3970}
3971
3972fn run_rtt_direct_benchmark(iterations: usize) -> Result<BenchmarkRun> {

Callers 3

perf_benchFunction · 0.80
perf_native_postgresFunction · 0.80
perf_pglite_nodefs_sqlxFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected