MCPcopy Create free account
hub / github.com/nodejs/node / __init__

Method __init__

deps/v8/tools/run_perf.py:441–450  ·  view source on GitHub ↗
(self, suite, parent, arch)

Source from the content-addressed store, hash-verified

439 variants of each other"""
440
441 def __init__(self, suite, parent, arch):
442 super(VariantConfig, self).__init__(suite, parent, arch)
443 assert "variants" in suite
444 for variant in suite.get('variants'):
445 assert "variants" not in variant, \
446 "Cannot directly nest variants:" + str(variant)[:100]
447 assert "name" in variant, \
448 "Variant must have 'name' property: " + str(variant)[:100]
449 assert len(variant) >= 2, \
450 "Variant must define other properties than 'name': " + str(variant)
451
452
453class LeafTraceConfig(GraphConfig):

Callers

nothing calls this directly

Calls 3

strFunction · 0.85
getMethod · 0.65
__init__Method · 0.45

Tested by

no test coverage detected