diff --git a/dev/bench/data.js b/dev/bench/data.js index b00e3d4d..eac506ac 100644 --- a/dev/bench/data.js +++ b/dev/bench/data.js @@ -1,157 +1,8 @@ window.BENCHMARK_DATA = { - "lastUpdate": 1733492862904, + "lastUpdate": 1734358148676, "repoUrl": "https://github.com/hasura/ndc-postgres", "entries": { "Component benchmarks": [ - { - "commit": { - "author": { - "email": "danieljamesharvey@gmail.com", - "name": "Daniel Harvey", - "username": "danieljharvey" - }, - "committer": { - "email": "noreply@github.com", - "name": "GitHub", - "username": "web-flow" - }, - "distinct": false, - "id": "bf4e8abc31b535157fe8a2b581187b8e3a497a82", - "message": "Update a specific ndc-postgres dep (#575)\n\n\n\n### What\n\nWe automatically create PRs in the private multitenant repository. As\nthat repository will contain multiple versions of `ndc-postgres` soon,\nonly replace a specific one, matching on the crate alias.\n\n### How\n\nAwful bash", - "timestamp": "2024-08-16T15:03:00Z", - "tree_id": "57954793f150608a32fbd6de968a1fcdf7472d56", - "url": "https://github.com/hasura/ndc-postgres/commit/bf4e8abc31b535157fe8a2b581187b8e3a497a82" - }, - "date": 1723820999684, - "tool": "customSmallerIsBetter", - "benches": [ - { - "name": "select-by-pk - median", - "value": 29.334318, - "unit": "ms" - }, - { - "name": "select-by-pk - p(95)", - "value": 48.150446, - "unit": "ms" - }, - { - "name": "select-by-pk - connection acquisition time", - "value": 16.412195455164667, - "unit": "ms" - }, - { - "name": "select-by-pk - request time - (query + acquisition)", - "value": 6.41807085869846, - "unit": "ms" - }, - { - "name": "select-by-pk - processing time", - "value": 0.29476223903816073, - "unit": "ms" - }, - { - "name": "select-order-by - median", - "value": 71.42534, - "unit": "ms" - }, - { - "name": "select-order-by - p(95)", - "value": 103.33969845, - "unit": "ms" - }, - { - "name": "select-order-by - connection acquisition time", - "value": 46.70665923357073, - "unit": "ms" - }, - { - "name": "select-order-by - request time - (query + acquisition)", - "value": 1.300897369752434, - "unit": "ms" - }, - { - "name": "select-order-by - processing time", - "value": 0.2237656342528905, - "unit": "ms" - }, - { - "name": "select-variables - median", - "value": 46.884598, - "unit": "ms" - }, - { - "name": "select-variables - p(95)", - "value": 80.62397619999996, - "unit": "ms" - }, - { - "name": "select-variables - connection acquisition time", - "value": 28.78029242370912, - "unit": "ms" - }, - { - "name": "select-variables - request time - (query + acquisition)", - "value": 7.294592430435408, - "unit": "ms" - }, - { - "name": "select-variables - processing time", - "value": 0.36787634026202903, - "unit": "ms" - }, - { - "name": "select-where - median", - "value": 42.627214, - "unit": "ms" - }, - { - "name": "select-where - p(95)", - "value": 71.44100744999996, - "unit": "ms" - }, - { - "name": "select-where - connection acquisition time", - "value": 25.354154061002426, - "unit": "ms" - }, - { - "name": "select-where - request time - (query + acquisition)", - "value": 5.235800700978238, - "unit": "ms" - }, - { - "name": "select-where - processing time", - "value": 0.33945838412274326, - "unit": "ms" - }, - { - "name": "select - median", - "value": 42.339659999999995, - "unit": "ms" - }, - { - "name": "select - p(95)", - "value": 69.56057815000001, - "unit": "ms" - }, - { - "name": "select - connection acquisition time", - "value": 25.15195901176091, - "unit": "ms" - }, - { - "name": "select - request time - (query + acquisition)", - "value": 5.0963872396811425, - "unit": "ms" - }, - { - "name": "select - processing time", - "value": 0.30628330848969, - "unit": "ms" - } - ] - }, { "commit": { "author": { @@ -7452,6 +7303,155 @@ window.BENCHMARK_DATA = { "unit": "ms" } ] + }, + { + "commit": { + "author": { + "email": "i.am.tom.harding@gmail.com", + "name": "Tom Harding", + "username": "i-am-tom" + }, + "committer": { + "email": "noreply@github.com", + "name": "GitHub", + "username": "web-flow" + }, + "distinct": true, + "id": "0a31c694323285a2e943f4de79f7e1dac39fd7c2", + "message": "Fix Cockroach Native Query problem (#664)\n\n### What\n\nNative query tracking fails for CockroachDB because OIDs are 64-bit\n(despite what the documentation says). However, if we just change the\ntype to `i64`, then the vanilla Postgres native query setup fails\nbecause `sqlx` requires each type in Rust to correspond to a specific\nPostgres type, and thus we can't do some sort of dynamic switching.\n\n### How\n\nWe cast absolutely everything to `i64` explicitly in the query. The fact\nthat this works seems to be accidental: because the input type becomes\nirrelevant, Cockroach determines a different type for `oid` than\nPostgres, and both are happy. `sqlx` bases its types on information from\nthe database, so it's also happy.\n\nI have tested this with tracking a native query in both Cockroach and\nPostgres, and both seem to be happy.", + "timestamp": "2024-12-16T13:57:40Z", + "tree_id": "9b01812e7d775b0e6a048665ee2ed831fcd1616e", + "url": "https://github.com/hasura/ndc-postgres/commit/0a31c694323285a2e943f4de79f7e1dac39fd7c2" + }, + "date": 1734358147016, + "tool": "customSmallerIsBetter", + "benches": [ + { + "name": "select-by-pk - median", + "value": 29.935957, + "unit": "ms" + }, + { + "name": "select-by-pk - p(95)", + "value": 50.7747555, + "unit": "ms" + }, + { + "name": "select-by-pk - connection acquisition time", + "value": 15.902525320093256, + "unit": "ms" + }, + { + "name": "select-by-pk - request time - (query + acquisition)", + "value": 7.8295704711726355, + "unit": "ms" + }, + { + "name": "select-by-pk - processing time", + "value": 0.28891782706916935, + "unit": "ms" + }, + { + "name": "select-order-by - median", + "value": 72.23754, + "unit": "ms" + }, + { + "name": "select-order-by - p(95)", + "value": 106.1857728, + "unit": "ms" + }, + { + "name": "select-order-by - connection acquisition time", + "value": 48.58421943428992, + "unit": "ms" + }, + { + "name": "select-order-by - request time - (query + acquisition)", + "value": 1.5100105412387563, + "unit": "ms" + }, + { + "name": "select-order-by - processing time", + "value": 0.21359184320256042, + "unit": "ms" + }, + { + "name": "select-variables - median", + "value": 50.477896, + "unit": "ms" + }, + { + "name": "select-variables - p(95)", + "value": 91.70960039999997, + "unit": "ms" + }, + { + "name": "select-variables - connection acquisition time", + "value": 29.612837342602358, + "unit": "ms" + }, + { + "name": "select-variables - request time - (query + acquisition)", + "value": 9.112986816683947, + "unit": "ms" + }, + { + "name": "select-variables - processing time", + "value": 0.4021744480266484, + "unit": "ms" + }, + { + "name": "select-where - median", + "value": 45.383973499999996, + "unit": "ms" + }, + { + "name": "select-where - p(95)", + "value": 72.96158349999999, + "unit": "ms" + }, + { + "name": "select-where - connection acquisition time", + "value": 28.44166520988842, + "unit": "ms" + }, + { + "name": "select-where - request time - (query + acquisition)", + "value": 4.582729023460786, + "unit": "ms" + }, + { + "name": "select-where - processing time", + "value": 0.3065379133300242, + "unit": "ms" + }, + { + "name": "select - median", + "value": 44.791107, + "unit": "ms" + }, + { + "name": "select - p(95)", + "value": 70.77364675000001, + "unit": "ms" + }, + { + "name": "select - connection acquisition time", + "value": 26.895411221319893, + "unit": "ms" + }, + { + "name": "select - request time - (query + acquisition)", + "value": 4.502610668728423, + "unit": "ms" + }, + { + "name": "select - processing time", + "value": 0.27892408752758474, + "unit": "ms" + } + ] } ] }