Tuning CaloJMVC

The JMVC project used to take up too much memory, and I did not have time to tune it, today, I used Jmeter and jConsole, and also optimize the code a bit, mainly flyweight for the controller instances, also, used System.gc() to free some memory space, and by calling the same api with 5 threads and 1000 recycles, the memory picture looks good,

, this is without database live connection, next I will set up database, and create more http samplers to test this special Java project further.

留下你的评论
评论
2023-4-16 上午8:04
这种测试还是好爽的,看着几千个轮回跳,内存也不飙升