)]}'
{
  "commit": "a9803ecf4cf28f5d0ff0ded21ac0f4963a2fce5a",
  "tree": "bf0d5a5ef58333f4e54755074bea3623e69ab3a1",
  "parents": [
    "4db5827ce757093ee1a03b1e6dd68c279c5a114b"
  ],
  "author": {
    "name": "Ryan Harrison",
    "email": "rharrison@chromium.org",
    "time": "Wed Oct 28 06:42:51 2026 -0700"
  },
  "committer": {
    "name": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dawn-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Wed Oct 28 06:42:51 2026 -0700"
  },
  "message": "[tint] Replace existing hasher with MurmurHash3 derived one\n\nThe existing hash implementation has pathological interactions with our\nblock allocation and containers, which leads to the vast majority of\nslots in hash sets, etc not being used and a very high rate of\ncollisions.\n\nReplacing it with an implementation derived from MumurHash3, which is\npublic domain has good distribution/easy to implement.\n\nIn the micro-benchmark this improves the average case from 16.8ms (+-\n0.6) to 2.11 (+- 0.07), and improves the catastrophic case from 295ms\n(+- 2.80) to a similar runtime. So on top of substantial performance\nimprovements also doesn\u0027t demonstrate a slow down in the previous known\nslow case.\n\nFor the original fuzzer test case that started this investigation, the\nruntime goes from ~15s to less than 1s. This test case was pretty\ntailored to exploit this issue, so I don\u0027t expect to see massive runtime\nimprovements in general, but I don\u0027t expect to see any regressions.\n\nFixes: 577830526\nChange-Id: Ie253126d2ba57d0815d29d2c7fa4452d2303e784\nInclude-Ci-Only-Tests: ci:dawn-linux-x64-nvidia-gtx1660-rel,ci:dawn-mac-arm64-apple-m2-rel,ci:dawn-win-x64-nvidia-gtx1660-rel|litert_lm_benchmark\nCq-Include-Trybots: luci.dawn.try:dawn-try-linux-x64-nvidia-gtx1660-rel,dawn-try-mac-arm64-apple-m2-rel,dawn-try-win-x64-nvidia-gtx1660-rel\nReviewed-on: https://dawn-review.googlesource.com/c/dawn/+/354176\nReviewed-by: dan sinclair \u003cdsinclair@chromium.org\u003e\nCommit-Queue: dan sinclair \u003cdsinclair@chromium.org\u003e\nAuto-Submit: Ryan Harrison \u003crharrison@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "30ac91eafd28bc268ec07b96bf1ba5aab3f6debf",
      "old_mode": 33188,
      "old_path": "src/tint/utils/math/hash.h",
      "new_id": "a468c7bf30cb7c73ac82b10f0c2c4795dd13bf9b",
      "new_mode": 33188,
      "new_path": "src/tint/utils/math/hash.h"
    },
    {
      "type": "modify",
      "old_id": "6dffa8ef5d71edd13bc2e05354c8d313b8c38929",
      "old_mode": 33188,
      "old_path": "src/tint/utils/math/hash_test.cc",
      "new_id": "95c667f538a37f6701bb97776ce52a9e3ea76706",
      "new_mode": 33188,
      "new_path": "src/tint/utils/math/hash_test.cc"
    }
  ]
}
