Right now, I'm using jqtpl in my node's express. However, my coworker said that it took a lot of memory under load testing.
So:
Is it a problem with express or the rendering engine? is there any configuration (like view cache) I should do to reduce memory usage?
What is the characteristic of different rendering engine? eg jade, jqtpl, ejs...etc
Please advice.
Run the benchmarks using NODE_ENV=production
, by using the development environment you have to load and compile the template each time.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.