MCPcopy Create free account
hub / github.com/apache/fory / repeat

Function repeat

benchmarks/javascript/benchmark.js:406–408  ·  view source on GitHub ↗
(factory)

Source from the content-addressed store, hash-verified

404}
405
406function repeat(factory) {
407 return Array.from({ length: LIST_SIZE }, () => factory());
408}
409
410function createNumericStructList() {
411 return {

Callers 8

serverStreamMessageMethod · 0.85
serverStreamUnionMethod · 0.85
serverStreamMessageMethod · 0.85
serverStreamUnionMethod · 0.85
serverStreamMessageMethod · 0.85
createNumericStructListFunction · 0.85
createSampleListFunction · 0.85
createMediaContentListFunction · 0.85

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected