)]}' { "commit": "ba1a8f8d05e97687fb3a3fd1d1c250af7af6d22b", "tree": "8bd583ceceab0d8e00efa97e76e62575511c6d12", "parents": [ "73ced33dfbbf4ee97e6d2a50603ed11ef41bd162" ], "author": { "name": "Ben Clayton", "email": "bclayton@google.com", "time": "Sat Jan 22 20:32:38 2022 +0000" }, "committer": { "name": "Tint LUCI CQ", "email": "tint-scoped@luci-project-accounts.iam.gserviceaccount.com", "time": "Sat Jan 22 20:32:38 2022 +0000" }, "message": "optimization: BlockAllocator: Actually allocate in blocks\n\nInstead of hitting the heap for each and every call to Create()\n\nSignificantly improves performance for heavy loads. Slight performance\nloss for lighter loads.\n\nA: base.bench\nB: new.bench\n\nTest name | Δ (A → B) | % (A → B)\n--------------------------------------+--------------+-----------\nGenerateSPIRV/\"simple_fragment.wgsl\" | 27.021µs | +6.4%\nGenerateMSL/\"simple_compute.wgsl\" | 35.592µs | +6.1%\nGenerateMSL/\"simple_vertex.wgsl\" | 37.64µs | +5.5%\nGenerateHLSL/\"simple_fragment.wgsl\" | 42.145µs | +5.2%\nGenerateGLSL/\"simple_fragment.wgsl\" | 31.506µs | +4.9%\nGenerateHLSL/\"simple_vertex.wgsl\" | 38.843µs | +4.7%\nGenerateMSL/\"simple_fragment.wgsl\" | 29.977µs | +4.5%\nGenerateSPIRV/\"simple_vertex.wgsl\" | 19.882µs | +4.2%\nGenerateGLSL/\"simple_vertex.wgsl\" | 24.702µs | +3.7%\nGenerateSPIRV/\"simple_compute.wgsl\" | 17.652µs | +3.2%\nGenerateHLSL/\"simple_compute.wgsl\" | 26.826µs | +2.7%\nGenerateGLSL/\"simple_compute.wgsl\" | 11.952µs | +1.8%\nParseWGSL/\"particles.wgsl\" | -104.83µs | -4.2%\nGenerateMSL/\"particles.wgsl\" | -1.079243ms | -9.4%\nGenerateSPIRV/\"particles.wgsl\" | -1.012483ms | -9.4%\nGenerateGLSL/\"particles.wgsl\" | -3.522106ms | -9.5%\nGenerateHLSL/\"particles.wgsl\" | -1.849666ms | -10.6%\n\nIssue: tint:1383\nChange-Id: Ib691328538c597c06a75dfba392c99d2afbd5442\nReviewed-on: https://dawn-review.googlesource.com/c/tint/+/76961\nReviewed-by: Antonio Maiorano \u003camaiorano@google.com\u003e\nKokoro: Kokoro \u003cnoreply+kokoro@google.com\u003e\nCommit-Queue: Ben Clayton \u003cbclayton@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "bdaf6436c62e58fe0e91ae5c8343a504acd34fd9", "old_mode": 33188, "old_path": "fuzzers/tint_ast_clone_fuzzer.cc", "new_id": "85d7a17cde67ada84d96aad9012d513102a437f2", "new_mode": 33188, "new_path": "fuzzers/tint_ast_clone_fuzzer.cc" }, { "type": "modify", "old_id": "29e98916e4bce75651c1b9ea28481a4544b8dba4", "old_mode": 33188, "old_path": "src/ast/module_clone_test.cc", "new_id": "70b9116255bb1e9b4eb565e04f49979645039165", "new_mode": 33188, "new_path": "src/ast/module_clone_test.cc" }, { "type": "modify", "old_id": "44de75c52b16c868898e5a35b5018b684956cb5a", "old_mode": 33188, "old_path": "src/block_allocator.h", "new_id": "4a8fbf2461b8d3f1d6e83363300e4b2c7962bf70", "new_mode": 33188, "new_path": "src/block_allocator.h" }, { "type": "modify", "old_id": "e468907893c7b208ce3c2d3104f6dadc108aa8d7", "old_mode": 33188, "old_path": "src/block_allocator_test.cc", "new_id": "69834da52cd33d496e3eb7e258714761729764bb", "new_mode": 33188, "new_path": "src/block_allocator_test.cc" }, { "type": "modify", "old_id": "af20c6d1fb003a9e2ee6a5b77ef42cfc6bb65b37", "old_mode": 33188, "old_path": "src/transform/decompose_memory_access.cc", "new_id": "fecb76fc15ed419f1a317fe68078c6ef304c784b", "new_mode": 33188, "new_path": "src/transform/decompose_memory_access.cc" }, { "type": "modify", "old_id": "387604b6441796d0092afa4a5b914f623a2b51af", "old_mode": 33188, "old_path": "src/transform/multiplanar_external_texture.cc", "new_id": "74ef782717c9f066e26e2224096d1c07f0e8fc05", "new_mode": 33188, "new_path": "src/transform/multiplanar_external_texture.cc" } ] }