discourse/app/assets/javascripts/pretty-text
Guo Xiang Tan c5a70eca6e
PERF: Move mention lookups out of the V8 context. (#6640)
We were looking up each mention one by one without any form of caching and that results
in a problem somewhat similar to an N+1. When we have to do alot of DB
lookups, it also increased the time spent in the V8 context which may
eventually lead to a timeout. The change here makes it such that mention lookups only does a single
DB query per post that happens outside of the V8 context.
2018-11-22 14:28:48 +08:00
..
emoji FEATURE: adds emoji search aliases 2018-05-01 15:43:49 +02:00
engines PERF: Move mention lookups out of the V8 context. (#6640) 2018-11-22 14:28:48 +08:00
censored-words.js.es6 FIX: Correctly censor strings starting or ending with non-word characters (#6445) 2018-10-04 15:15:10 +01:00
emoji.js.es6.erb FEATURE: adds emoji search aliases 2018-05-01 15:43:49 +02:00
guid.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
image-short-url.js.es6 DEV: adds test for image-short-url (#6642) 2018-11-22 07:48:52 +11:00
inline-oneboxer.js.es6 FIX: Cache url data for failed inline oneboxes 2018-11-13 01:44:20 +05:30
oneboxer.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
pretty-text.js.es6 PERF: Move mention lookups out of the V8 context. (#6640) 2018-11-22 14:28:48 +08:00
sanitizer.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
white-lister.js.es6 FEATURE: allow ruby tags in Markdown 2018-08-03 11:47:36 +10:00
xss.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00