def METHOD_NAME(benchmark):
    # debdeps: python3-pytest-benchmark
    g = []
    for x in range(1020):
        v = {
            "anomaly": None if (int(x / 100) % 2 == 0) else True,
            "confirmed": None,
            "input": "foo",
            "measurement_start_time": datetime.utcfromtimestamp(x + 1234567890),
            "probe_cc": "BR",
            "scores": "",
            "test_name": "web_connectivity",
            "tid": "",
        }
        g.append(v)
    (msmts, changes) = benchmark(bench_detect_blocking_changes_1s_g, g)
    with Path("detector/views/chart_alone.tpl").open() as f:
        tpl = webapp.bottle.SimpleTemplate(f.read())
    cc = "BR"
    inp = "foo"
    test_name = "web_connectivity"
    cd = webapp.generate_chart(msmts, changes, cc, test_name, inp)
    chart = tpl.render(**cd)
    assert chart
    data.joinpath("output/chart_ww_BR_bench.html").write_text(chart)
    last_mean = msmts[-1][-1]
    assert pytest.approx(0.415287511652) == last_mean