zulip/zephyr
Zev Benjamin 4b3e4b118e Don't re-compute display time when rendering a message a second time
Adding the display times to messages is very expensive (> 1s for 400
messages in Chrome on my machine).  This commit doesn't directly
address that issue, but does mitigate its affects on scrolling speed
when rendering the next chunk of the message list.  After this
commit, rendering a portion of the message list for the second time
only takes ~300ms.

(imported from commit b22badb5dcce69be297f6403b1cb40950e46376e)
2013-03-05 12:48:33 -05:00
..
fixtures Rename zephyrs.json => messages.json in .gitignore. 2012-10-10 10:39:27 -04:00
jstemplates Add a function for narrowing by time travel 2013-03-05 12:48:32 -05:00
lib Add emoji support 👍 🎩 💩 😀 2013-03-04 11:08:00 -05:00
management Fix bug in colorize_streams that tried to include non-streams for colorizing. 2013-03-04 16:30:23 -05:00
migrations [south] Add enter-sends field to UserProfile model. 2013-02-27 17:25:15 -05:00
static Don't re-compute display time when rendering a message a second time 2013-03-05 12:48:33 -05:00
tests tests: Allow frontend "run" script to accept a list of test files to run 2013-03-05 11:57:24 -05:00
__init__.py Initial Django commit: basic account, zephyr stream, narrowing, etc. 2012-08-28 12:44:51 -04:00
context_processors.py [manual] Get rid of the static-access-control mechanism 2013-01-31 15:34:12 -05:00
decorator.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
filters.py Filter out all cookies and the csrfmiddlewaretoken. 2013-02-05 16:12:48 -05:00
forms.py Rename is_active to is_inactive. 2013-02-12 16:15:29 -05:00
handlers.py Catch all exceptions when sending a message from AdminHumbugHandler 2013-02-05 16:12:48 -05:00
middleware.py logging: Fix super verbose logging of 404 errors. 2013-02-12 16:36:13 -05:00
models.py [schema] Save enter_sends on the server in the database. 2013-02-27 17:25:29 -05:00
openid.py [manual] Implement backend support for authenticating a user via Google. 2013-02-27 10:16:54 -05:00
retention_policy.py Fix use of case-sensitive comparisons on email addresses. 2013-02-28 17:49:57 -05:00
tests.py Add emoji support 👍 🎩 💩 😀 2013-03-04 11:08:00 -05:00
tornadoviews.py Clean up fetch_table_messages code a bit. 2013-02-12 16:25:45 -05:00
views.py Fix improperly case-sensitive narrowing by subject. 2013-02-28 17:49:57 -05:00