

def test_deep_stats_load_performance(benchmark):
    stats = deep_stats(100, skip_if_no_recursion_error=False)
    data = pickle.dumps(stats)
    benchmark((lambda : pickle.loads(data)))

dataset/ETHPy150Open what-studio/profiling/test/test_stats.py test_deep_stats_load_performance/original