Coder Social home page Coder Social logo

Comments (7)

ncreep avatar ncreep commented on May 30, 2024

Do we have some predefined quick performance tests?
Something that runs within a minute, just to get a hint to whether an optimization has the desired effect.

from anti-xml.

djspiewak avatar djspiewak commented on May 30, 2024

The best performance test to run would be test-perf shallowSelectSmall (from the SBT shell). Unfortunately, this test takes a really long time right now because a single shallow select operation on a 7 MB tree requires two and a half minutes (and the test is run about a dozen times). So, that's a little long. However, if the performance were better, the test would complete quite quickly (on the master branch, I believe it only takes a few seconds).

from anti-xml.

ncreep avatar ncreep commented on May 30, 2024

Blind optimizations FTW!

from anti-xml.

djspiewak avatar djspiewak commented on May 30, 2024

I'm terribly sorry! :-) It would be pretty easy to just whip up a new performance test with a smaller tree, something that runs a little more quickly. Alternatively, the performance is so dramatically slow right now that you can probably just check timing in the REPL and see differences.

from anti-xml.

josharnold52 avatar josharnold52 commented on May 30, 2024

Of course, there's always the tried and true method of "break into the debugger and see what's on the call stack". When the performance is really out of whack, chances are you will break into the bottleneck :-)

from anti-xml.

djspiewak avatar djspiewak commented on May 30, 2024

With the very latest changes from ncreep, the performance is good enough that I wouldn't consider it a blocker any longer. It could still stand some improvement, but I would feel comfortable cutting a release without further improvement.

from anti-xml.

djspiewak avatar djspiewak commented on May 30, 2024

With the latest changes from ncreep, I think we can consider this closed!

from anti-xml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.