samccone / The-cost-of-transpiling-es2015-in-2016

Investigating the overhead cost of compiled es2015
1.34k stars 37 forks source link

Usefulness of JS compile+execute time in graphic #45

Closed dbkaplun closed 8 years ago

dbkaplun commented 8 years ago

What is the logic behind showing JS compile+execute time as one bar in this graphic? One is server-side and happens once and the other is client-side and happens every time the client runs the page. It seems that the two numbers should not be related.

graphic

samccone commented 8 years ago

from the readme doc

*js execution time on page load (gathered by big-rig)
*js compile time (gathered by big-rig)

These are both front-end metrics, the javascript gets compiled by the JIT and then executes :)

Thanks for the issue.

dbkaplun commented 8 years ago

Ah, that explains it. "js compile time" is a bit confusing though, maybe it warrants additional explanation? Anyway thanks!