||Initialize the profiler using profiler settings supplied in a JS object.
The following properties on the object are respected:
||tresize-test - A purer form of paint measurement than tpaint. This
test opens a single window positioned at 10,10 and sized to 425,425,
then resizes the window outward |max| times measuring the amount of
time it takes to repaint each resize. Calls the provided callback
with an array of resize times in milliseconds.