Fix performance test.
Move Makefile scripts to package.json.