MCPcopy
hub / github.com/angular/angular / sortedKeys

Function sortedKeys

packages/benchpress/test/metric/perflog_metric_spec.ts:92–97  ·  view source on GitHub ↗
(stringMap: {[key: string]: any})

Source from the content-addressed store, hash-verified

90
91 describe('perflog metric', () => {
92 function sortedKeys(stringMap: {[key: string]: any}) {
93 const res: string[] = [];
94 res.push(...Object.keys(stringMap));
95 res.sort();
96 return res;
97 }
98
99 it('should describe itself based on the perfLogFeatrues', () => {
100 expect(sortedKeys(createMetric([[]], new PerfLogFeatures()).describe())).toEqual([

Callers 1

Calls 2

keysMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…