Bug 912075 - make perf gives an advantage to code that runs twice. r=gandalf

Conflicts:
	tools/perf/benchmark.d8.js
	tools/perf/benchmark.jsshell.js
	tools/perf/benchmark.node.js
parser heuristic for indexes on attributes