FormidableLabs / ssr-experiments

Experiments for SSR off the main event loop.
0 stars 1 forks source link

Feature: Add timings _within_ the worker proc/thread #7

Closed ryan-roemer closed 5 years ago

ryan-roemer commented 5 years ago

Just to give more information -- it appears within the proc for a worker thread things slow down, so need to unpack the overall info more...

Also note this is a breaking change because the scenario API changes from Promise<string> to Promise<{ result<string>, elapsed<Number> }>