{"id":15480341,"url":"https://github.com/winebarrel/qrnlog","last_synced_at":"2026-04-20T10:03:15.165Z","repository":{"id":66256672,"uuid":"279314058","full_name":"winebarrel/qrnlog","owner":"winebarrel","description":"qrnlog is a qrn log normalization tool.","archived":false,"fork":false,"pushed_at":"2020-07-15T06:28:46.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T23:14:33.060Z","etag":null,"topics":["benchmark","database","golang","mysql","postgresql"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/winebarrel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-13T13:43:35.000Z","updated_at":"2020-07-15T06:27:36.000Z","dependencies_parsed_at":"2023-02-20T20:01:00.800Z","dependency_job_id":null,"html_url":"https://github.com/winebarrel/qrnlog","commit_stats":{"total_commits":29,"total_committers":1,"mean_commits":29.0,"dds":0.0,"last_synced_commit":"974bbd2d64ceecdfeb5df7d2c1ff43ea5c5b7499"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/winebarrel/qrnlog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fqrnlog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fqrnlog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fqrnlog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fqrnlog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winebarrel","download_url":"https://codeload.github.com/winebarrel/qrnlog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fqrnlog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32042294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["benchmark","database","golang","mysql","postgresql"],"created_at":"2024-10-02T04:41:43.786Z","updated_at":"2026-04-20T10:03:15.138Z","avatar_url":"https://github.com/winebarrel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qrnlog\n\nqrnlog is a [qrn](https://github.com/winebarrel/qrn) log normalization tool.\n\n## Usage\n\n```\nusage: qrnlog [-help|-version] [QRN_LOG]\n```\n\n```\n$ cat data.jsonl\n{\"query\":\"select 1\"}\n{\"query\":\"select now()\"}\n\n$ qrn -dsn root:@/test -data data.jsonl -log log.jsonl\n01:00 | 1 agents / run 904907 queries (14715 qps)\n\n{\n  \"DSN\": \"root:@/test\",\n  ...\n}\n\n$ head log.jsonl\n{\"query\":\"select 1\",\"time\":1153591}\n{\"query\":\"select now()\",\"time\":160093}\n{\"query\":\"select 1\",\"time\":82081}\n...\n\n$ qrnlog log.jsonl # or `cat log.jsonl | qrnlog`\n{\"Query\":\"select now()\",\"LastQuery\":\"select now()\",\"Count\":134118,\"UniqueCount\":1,\"TimePct\":52.12196,\"Time\":{\"Cumulative\":9422205208,\"HMean\":68006,\"Avg\":70253,\"P50\":67195,\"P75\":72774,\"P95\":102030,\"P99\":133245,\"P999\":179611,\"Long5p\":123863,\"Short5p\":53248,\"Max\":1302663,\"Min\":36794,\"StdDev\":15983,\"Range\":1265869}}\n{\"Query\":\"select ?\",\"LastQuery\":\"select 1\",\"Count\":134118,\"UniqueCount\":1,\"TimePct\":47.87804,\"Time\":{\"Cumulative\":8655022244,\"HMean\":62221,\"Avg\":64532,\"P50\":61012,\"P75\":65928,\"P95\":98715,\"P99\":124093,\"P999\":166922,\"Long5p\":115808,\"Short5p\":48514,\"Max\":348380,\"Min\":34074,\"StdDev\":15021,\"Range\":314306}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fqrnlog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinebarrel%2Fqrnlog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fqrnlog/lists"}