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

Class VariantConfig

deps/v8/tools/run_perf.py:437–450  ·  view source on GitHub ↗

Represents an intermediate node that has children that are all variants of each other

Source from the content-addressed store, hash-verified

435
436
437class VariantConfig(GraphConfig):
438 """Represents an intermediate node that has children that are all
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 1

BuildGraphConfigsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…