MCPcopy
hub / github.com/angular/angular / sortedProps

Function sortedProps

packages/benchpress/src/reporter/util.ts:16–18  ·  view source on GitHub ↗
(obj: {[key: string]: any})

Source from the content-addressed store, hash-verified

14}
15
16export function sortedProps(obj: {[key: string]: any}) {
17 return Object.keys(obj).sort();
18}
19
20export function formatStats(validSamples: MeasureValues[], metricName: string): string {
21 const samples = validSamples.map((measureValues) => measureValues.values[metricName]);

Callers 3

reportSampleMethod · 0.90
constructorMethod · 0.90
descriptionMethod · 0.90

Calls 1

keysMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…