gh-141510: Update ftscalingbench to support frozendict (gh-144999)

This commit is contained in:
Donghee Na
2026-02-19 23:06:15 +09:00
committed by GitHub
parent 1d099164bc
commit 28b3a8ac08
+6
View File
@@ -180,6 +180,12 @@ def create_dict():
"key": "value",
}
if hasattr(__builtins__, "frozendict"):
@register_benchmark
def create_frozendict():
for i in range(1000 * WORK_SCALE):
d = frozendict(key="value")
thread_local = threading.local()
@register_benchmark