26 lines
2.2 KiB
Plaintext
26 lines
2.2 KiB
Plaintext
# Cache performance experiment
|
|
# generated: 2026-10-06T15:53:01Z
|
|
go version go1.27.1 darwin/arm64
|
|
Darwin arm64
|
|
2026/10/06 18:53:02 OK 00001_init.sql (10.14ms)
|
|
2026/10/06 18:53:02 goose: successfully migrated database to version: 1
|
|
=== RUN TestCachePerformanceExperiment
|
|
cache_performance_experiment_test.go:111: baseline (no cache): requests=10000 concurrency=50 sql=10000 duration=1.247s rps=8017 p50=6.073542ms p95=7.541167ms p99=9.156083ms
|
|
cache_performance_experiment_test.go:112: redis cache (cold): requests=10000 concurrency=50 sql=1 duration=434ms rps=23022 p50=2.045375ms p95=3.3065ms p99=4.115042ms
|
|
cache_performance_experiment_test.go:113: redis cache (hot): requests=10000 concurrency=50 sql=0 duration=399ms rps=25055 p50=1.948541ms p95=2.716833ms p99=3.293792ms
|
|
--- PASS: TestCachePerformanceExperiment (2.38s)
|
|
=== RUN TestCachePerformanceExperiment
|
|
cache_performance_experiment_test.go:111: baseline (no cache): requests=10000 concurrency=50 sql=10000 duration=1.275s rps=7844 p50=6.254833ms p95=7.301042ms p99=9.071333ms
|
|
cache_performance_experiment_test.go:112: redis cache (cold): requests=10000 concurrency=50 sql=1 duration=375ms rps=26668 p50=1.822291ms p95=2.375625ms p99=3.260166ms
|
|
cache_performance_experiment_test.go:113: redis cache (hot): requests=10000 concurrency=50 sql=0 duration=372ms rps=26890 p50=1.826083ms p95=2.368833ms p99=3.16875ms
|
|
--- PASS: TestCachePerformanceExperiment (2.26s)
|
|
=== RUN TestCachePerformanceExperiment
|
|
cache_performance_experiment_test.go:111: baseline (no cache): requests=10000 concurrency=50 sql=10000 duration=1.236s rps=8093 p50=6.084917ms p95=6.878625ms p99=7.891209ms
|
|
cache_performance_experiment_test.go:112: redis cache (cold): requests=10000 concurrency=50 sql=1 duration=378ms rps=26432 p50=1.832208ms p95=2.499917ms p99=3.223166ms
|
|
cache_performance_experiment_test.go:113: redis cache (hot): requests=10000 concurrency=50 sql=0 duration=404ms rps=24747 p50=1.95875ms p95=2.878375ms p99=3.453333ms
|
|
--- PASS: TestCachePerformanceExperiment (2.26s)
|
|
PASS
|
|
ok mtusi-messenger/internal/storage/postgres 7.277s
|
|
? mtusi-messenger/internal/storage/postgres/internal/sqlcgen [no test files]
|
|
? mtusi-messenger/internal/storage/postgres/migrations [no test files]
|