You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Major performance degradation between versions 4.2.0 and 6 #1006
Using the ms-sql library I noticed a major degradation in performance after they upgraded the tedious version from 4.2.0 in this commit: tediousjs/node-mssql@b635268
What I am seeing is that the same benchmark set of inserts to a database takes more than 4.5 times longer to run after that upgrade. (Some information about my performance test is available here: tediousjs/node-mssql#939)
I am attempting to isolate and reproduce this using just the tedious library. So far, I am seeing a performance hit of approximately the same scale using the benchmarks in tedious/benchmarks, so my guess would be that the issue is the same. I will continue to isolate the exact commit where the performance degrades.
EDIT: It doesn't appear the results I initially reported were related, I will continue investigating this and report back.
Hi @meelash, I also just try to run the tests against 4.2.0 and 6.6.2(lastest), and I do not see a huge difference between these two performance vise. There is a proximately average 3-4 ms difference between these two. Please share any new findings from your side. Thanks 🙇
Activity
IanChokS commentedon Nov 19, 2019
Hi @meelash, can you try to run your performance script against version 5.0.3 and see if it has the same latency time?
MichaelSun90 commentedon Nov 19, 2019
Hi @meelash, I also just try to run the tests against 4.2.0 and 6.6.2(lastest), and I do not see a huge difference between these two performance vise. There is a proximately average 3-4 ms difference between these two. Please share any new findings from your side. Thanks 🙇
meelash commentedon Nov 21, 2019
I've definitively identified the commit causing the performance degradation as this one:
d949dd8
I am working now to reproduce in a benchmark test and will report back.
IanChokS commentedon Dec 13, 2019
hi @meelash, any progress? :)
IanChokS commentedon Feb 5, 2020
Closing for now, re-open if issue still persists