{"database": "github", "table": "issue_comments", "rows": [["https://github.com/simonw/datasette/issues/1723#issuecomment-1110305790", "https://api.github.com/repos/simonw/datasette/issues/1723", 1110305790, "IC_kwDOBm6k_c5CLev-", 9599, "2022-04-26T22:19:04Z", "2022-04-26T22:19:04Z", "OWNER", "I realized that seeing the total time in queries wasn't enough to understand this, because if the queries were executed in serial or parallel it should still sum up to the same amount of SQL time (roughly).\r\n\r\nInstead I need to know how long the page took to render. But that's hard to display on the page since you can't measure it until rendering has finished!\r\n\r\nSo I built an ASGI plugin to handle that measurement: https://github.com/simonw/datasette-total-page-time\r\n\r\nAnd with that plugin installed, `http://127.0.0.1:8001/global-power-plants/global-power-plants?_facet=primary_fuel&_facet=other_fuel2&_facet=other_fuel1&_parallel=1` (the parallel version) takes 377ms:\r\n\r\n\r\n\r\nWhile `http://127.0.0.1:8001/global-power-plants/global-power-plants?_facet=primary_fuel&_facet=other_fuel2&_facet=other_fuel1` (the serial version) takes 762ms:\r\n\r\n\r\n", "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", 1216508080, null]], "columns": ["html_url", "issue_url", "id", "node_id", "user", "created_at", "updated_at", "author_association", "body", "reactions", "issue", "performed_via_github_app"], "primary_keys": ["id"], "primary_key_values": ["1110305790"], "units": {}, "query_ms": 1.0997329954989254}