MCPcopy Index your code
hub / github.com/nodejs/node / sort_key

Function sort_key

deps/v8/tools/testrunner/utils/test_utils.py:110–111  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

108 # The original sorting key is duration or memory, but in our fake test we
109 # have non-deterministic values before we reset them to 1.
110 def sort_key(x):
111 return str(sorted(x.items()))
112 for container in [
113 'max_rss_tests', 'max_vms_tests','slowest_tests']:
114 json_output[container].sort(key=sort_key)

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
sortedFunction · 0.85
itemsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…