jiacai2050 / history-master

📈📉📊A Firefox/Chrome extension to visualize browsing history, sync among different browsers!
415 stars 43 forks source link

Use template-literal instead of EJS #19

Closed Drulac closed 5 years ago

Drulac commented 6 years ago

Template Literal is fastest, smallest and simplest template engine, because it use JS's literal template feature.

It's 55 times faster than EJS, and it also use less CPU and RAM ressources, so it may be a good idea to use it instead of EJS 😀

jiacai2050 commented 6 years ago

Thanks @Drulac for pointing out template-literal, I haven't heard it before.

However, this project is migrated to clojurescript, which compile clojure to JS, the extension version have been ported, you can try it now. I will migrate the node version later, although no plan made. If you like, PR are welcomed.