Modified from https://gist.github.com/acao/018fa0943da0e39c96f57fca64cd0c02
Test the speed and memory usage using 3 different techniques for constructing class objects.
Check convert arr to str
New benchmark Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js (v2.1.1)
Facebook page: https://www.facebook.com/MeasureThat.Net