Skip to content

Major performance degradation between versions 4.2.0 and 6 #1006

Closed

Description

@meelash

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.

Activity

  1. IanChokS commented on Nov 19, 2019

    @IanChokS
    Member

    Hi @meelash, can you try to run your performance script against version 5.0.3 and see if it has the same latency time?

  2. MichaelSun90 commented on Nov 19, 2019

    @MichaelSun90
    Contributor

    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 🙇

  3. meelash commented on Nov 21, 2019

    @meelash
    Author

    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.

  4. IanChokS commented on Dec 13, 2019

    @IanChokS
    Member

    hi @meelash, any progress? :)

  5. added
    Idle
    on Dec 13, 2019
  6. IanChokS commented on Feb 5, 2020

    @IanChokS
    Member

    Closing for now, re-open if issue still persists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Idle

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions