def test_overall_build_compiled(benchmark):
    d = example.compile()
    obj = example.parse(exampledata)
    benchmark(d.build, obj)
def test_overall_build(benchmark):
    d = example
    obj = example.parse(exampledata)
    benchmark(d.build, obj)
Beispiel #3
0
def test_overall_build(benchmark):
    d = example
    obj = example.parse(exampledata)
    benchmark(d.build, obj)
Beispiel #4
0
def test_overall_build_compiled(benchmark):
    d = cached("example-compiled", lambda: example.compile("example_compiled.py"))
    obj = example.parse(exampledata)
    benchmark(d.build, obj)
Beispiel #5
0
def test_overall_build_compiled(benchmark):
    d = example.compile()
    obj = example.parse(exampledata)
    benchmark(d.build, obj)