initial performance tests, some speedups after jsonbenchmark testing