spaces: Add initial benchmarking code