fixed the performance test. Allocating memory for the data to push on BerkeleyDB on heap rather than the stack.