update perf/ and tests/