Disable versioning in user.js and run performance test again result are in [After Improve]
Motivation and Context
Because application is too slow to run in production (Apdex:7.22),then we need to
fixed performance issued by improve save function and disable versioning.
How Has This Been Tested?
Initial bot
bot-init myBotName --clients express
Setup bot
cd myBotName
npm install
parse
npm run build
npm run start-express
Coverage increased (+0.07%) to 80.624% when pulling 6eba919d598f85967a6cf82bcad4592e786cb721 on socool:master into 37f2be9c149112db924f817faa3726ed2c648c27 on superscriptjs:master.
Fixed error "No matching document found for id" when running on production by disable versioning and save function improvement.
Description
Motivation and Context
Because application is too slow to run in production (Apdex:7.22),then we need to fixed performance issued by improve save function and disable versioning.
How Has This Been Tested?
Initial bot
Setup bot
Run jmeter (5.0 r1840935) using this command
superscript-performance.jmx
The code is tested with existing test cases. All test cases pass.
Screenshots (if appropriate):
Before Improve
After Improve
Types of changes
Checklist: