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

Function sortCollection

deps/v8/tools/profview/profile-utils.js:619–622  ·  view source on GitHub ↗
(collection)

Source from the content-addressed store, hash-verified

617 }
618
619 function sortCollection(collection) {
620 collection.functions.sort(
621 (a, b) => a.instances.length - b.instances.length);
622 }
623
624 sortCollection(eagerDeoptimizations);
625 sortCollection(lazyDeoptimizations);

Callers 1

computeOptimizationStatsFunction · 0.85

Calls 1

sortMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…