Grouping Parametrized Benchmarks with pytest
问题 I'm currently benchmarking an implementation of an AVL Tree I made against a non-rebalancing binary search tree using pytest-benchmark. It seems to be working well for me so far but I've run into an issue. In order to consolidate the test file, I found that I can parametrize tests and also group the output of the benchmark for readability but I can't seem to do them both at the same time. My current insertion benchmark: # always the same for repeatability random.seed(0x1C2C6D66) def