Giter Site home page Giter Site logo

Comments (3)

rmadar avatar rmadar commented on August 17, 2024

After breaking down the hook normalization, hplot, and hstack, I lost a factor 3 of time ~6ms -> 21ms (for 60 variables). This must be understood before going further ...

from tree-gonalyzer.

rmadar avatar rmadar commented on August 17, 2024

This was a bug induced by the benchmark code: variables were duplicated, and the variable indices were based on their names. So about 3 less variables were plotted in the old version. Once corrected, we have the following scenarios.

(Note that the time includes event loop, that's why the total time per event decreases : the plotting time relative contribution get smaller when event loops are larger).

New plotting: w/ concurrency

Running for nVars = 60
  -> 0.5M evts: 7.43 ms/kEvts
  -> 1.0M evts: 4.80 ms/kEvts
  -> 2.0M evts: 2.97 ms/kEvts
  -> 2.5M evts: 2.36 ms/kEvts

Old plotting: w/o concurrency

Running for nVars = 60
  -> 0.5M evts: 21.68 ms/kEvts
  -> 1.0M evts: 11.85 ms/kEvts
  -> 2.0M evts: 5.85 ms/kEvts
  -> 2.5M evts: 3.98 ms/kEvts

Plotting but hplot.Save(fig, w, h) command disabled

Running for nVars = 60
  -> 0.5M evts: 1.76 ms/kEvts
  -> 1.0M evts: 1.74 ms/kEvts
  -> 2.0M evts: 1.81 ms/kEvts
  -> 2.5M evts: 1.74 ms/kEvts

from tree-gonalyzer.

rmadar avatar rmadar commented on August 17, 2024

Every point were addressed: closing.

from tree-gonalyzer.

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.