Skip to content
Merged
34 changes: 17 additions & 17 deletions performance_baselines.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"version": "1.4.0",
"updated": "2025-01-17",
"version": "1.5.0",
"updated": "2025-11-26",
"baselines": {
"SimpleSelect": {
"ns_per_op": 650,
"tolerance_percent": 30,
"tolerance_percent": 40,
"description": "Basic SELECT query: SELECT id, name FROM users",
"current_performance": "~550-610 ns/op in CI, ~265 ns/op local (9 allocs, 536 B/op)",
"note": "CI environments show variability 550-610 ns/op; baseline updated to reflect CI reality"
"current_performance": "~550-610 ns/op in CI with ModelType fast path",
"note": "Test tokens include ModelType for fast int comparison path; increased tolerance for CI variability"
},
"ComplexQuery": {
"ns_per_op": 2500,
"tolerance_percent": 30,
"tolerance_percent": 40,
"description": "Complex SELECT with JOIN, WHERE, ORDER BY, LIMIT",
"current_performance": "~2400-2600 ns/op in CI, ~1020 ns/op local (36 allocs, 1433 B/op)",
"note": "CI environments show significant variability 2400-2600 ns/op; baseline updated to reflect CI reality"
"current_performance": "~2400-2600 ns/op in CI with ModelType fast path",
"note": "Test tokens include ModelType for fast int comparison path; increased tolerance for CI variability"
},
"WindowFunction": {
"ns_per_op": 1050,
"tolerance_percent": 30,
"tolerance_percent": 40,
"description": "Window function query: ROW_NUMBER() OVER (PARTITION BY ... ORDER BY ...)",
"current_performance": "~885-1005 ns/op in CI, ~400 ns/op local (14 allocs, 760 B/op)",
"note": "CI environments show significant variability 885-1005 ns/op; baseline updated to reflect CI reality"
"current_performance": "~885-1005 ns/op in CI with ModelType fast path",
"note": "Test tokens include ModelType for fast int comparison path; increased tolerance for CI variability"
},
"CTE": {
"ns_per_op": 1000,
"tolerance_percent": 30,
"tolerance_percent": 40,
"description": "Common Table Expression with WITH clause",
"current_performance": "~855-967 ns/op in CI, ~395 ns/op local (14 allocs, 880 B/op)",
"note": "CI environments show variability 855-967 ns/op; baseline updated to reflect CI reality"
"current_performance": "~855-967 ns/op in CI with ModelType fast path",
"note": "Test tokens include ModelType for fast int comparison path; increased tolerance for CI variability"
},
"INSERT": {
"ns_per_op": 750,
"tolerance_percent": 30,
"tolerance_percent": 40,
"description": "Simple INSERT statement",
"current_performance": "~660-716 ns/op in CI, ~310 ns/op local (14 allocs, 536 B/op)",
"note": "CI environments show variability 660-716 ns/op; baseline updated to reflect CI reality"
"current_performance": "~660-716 ns/op in CI with ModelType fast path",
"note": "Test tokens include ModelType for fast int comparison path; increased tolerance for CI variability"
},
"TokenizationThroughput": {
"tokens_per_sec": 8000000,
Expand Down
Loading
Loading