chore: run benchmark

This commit is contained in:
sjdonado
2025-03-20 13:03:15 +01:00
parent 6a151301b8
commit f2b63c00a3
6 changed files with 45 additions and 59 deletions
-2
View File
@@ -30,8 +30,6 @@ module App::Controllers
@env.response.headers["X-Forwarded-For"] = client_ip.to_s
@env.response.headers["Connection"] = "close"
@env.response.flush
spawn do
begin
user_agent_str = @env.request.headers["User-Agent"]?
+1 -3
View File
@@ -15,9 +15,7 @@ module App::Lib
db_url = base_url + separator +
"&journal_mode=WAL" +
"&synchronous=NORMAL" + # Better performance with reasonable safety
"&foreign_keys=true" +
"&cache_size=10000" + # Larger cache (10MB) for frequently accessed data
"&wal_autocheckpoint=10000" # Less frequent checkpoints
"&foreign_keys=true"
conf.uri = db_url
end