Version: v0.8.0 - Beta.  We welcome contributors & feedback.

Perf Panel

Overview 

When activated, the Perf Panel is displayed at the bottom of each page.

It will give you a detailed view into how fast the page loaded and where the bottlenecks might be.

What It Looks Like 

Perf Score 

The Perf Score is based on total time elapsed from of the server response to the browser’s window.onload event.

It includes client-side performance because ultimately it is the user experience that matters most.

How Fast Should It Be?

Research shows that after 1 second (1000 ms), users perceive an interface to be slow.

Ideally, each page would take less than 500 ms to completely load.

Milliseconds (ms)Perf Score
< 500FAST
500+OK
1000+SLOW
2000+VERY SLOW

Stats 

How to Activate 

To display the perf panel at the bottom of every page, set showPerfPanel: true in config/app.jcon.

Because this is a developer feature, it will only display if:

Adding Perf Tasks 

By default, THT measures calls to built-in modules, like file and database access.

You can measure the performance of your own tasks by using the Perf module.

How to Improve Performance 

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.

— Donald Knuth

Server-Side

Client-Side

See Also