zulip/frontend_tests/zjsunit
Steve Howell 0aa9decd86 blueslip: Add feature to time common operations.
This is relatively unobtrusive, and we don't send
anything to the server.

But any user can now enter blueslip.timings in the
console to see a map of how long things take in
milliseconds.  We only record one timing per
event label (i.e. the most recent).

It's pretty easy to test this by just clicking
around.  For 300 users/streams most things are
fast except for:

    - initialize_everything
    - manage streams (render_subscriptions)

Both do lots of nontrivial work, although
"manage streams" is a bit surprising, since
we're only measuring how long to build the
HTML from the templates (whereas the real
time is probably browser rendering costs).
2020-01-15 12:01:16 -08:00
..
bugdown_assert.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
finder.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
handlebars.js js: Purge useless IIFEs. 2019-10-25 13:51:21 -07:00
i18n.js comments: Update comment for zjsunit/i18n.js. 2020-01-03 17:19:59 -08:00
index.js zjsunit: Remove Dict dependency. 2020-01-03 17:19:59 -08:00
mdiff.js eslint: Add key-spacing linter rule. 2018-12-18 10:41:06 -08:00
namespace.js zjsunit: Remove set_global side effect from zrequire. 2019-11-13 14:29:17 -08:00
stub.js js: Automatically convert var to let and const in most files. 2019-11-03 12:42:39 -08:00
zblueslip.js blueslip: Add feature to time common operations. 2020-01-15 12:01:16 -08:00
zjquery.js zjsquery: Add data support. 2020-01-05 12:28:37 -08:00