Giter Club home page Giter Club logo

Comments (2)

leekillough avatar leekillough commented on August 14, 2024

I cannot reproduce. What was your .py config? Are you using a Release build of Rev?

With 20,000 lines around 80 characters wide each:

real    0m3.999s
user    0m3.240s
sys     0m0.601s

With 50,000 lines around 80 characters wide each:

real    0m8.242s
user    0m7.434s
sys     0m0.652s

8.242 / 3.999 = 2.061

50000.0 / 20000.0 = 2.5

So the 50,000 line one is actually much faster per-line than the 20,000 line one.

That was with RevMem. Here it is for MemH 20,000 lines:

real    1m45.388s
user    1m45.139s
sys     0m0.084s

MemH 50,000 lines:

real    4m20.000s
user    4m19.723s
sys     0m0.100s

260.000 / 105.388 = 2.467, so like RevMem, MemH is faster per-line with 50,000 lines, but just marginally.

The above results are reproducible with SST 13.1.0.

from rev.

leekillough avatar leekillough commented on August 14, 2024

This test is not reproducible, and after communicating with Luke, he cannot reproduce it either, with a loop which simply reads and prints lines.

We suspect it may be something to do with his tuple parsing code, which this reduced test case has removed, rather than rev_read().

I asked for a profiler run to be done to identify the hotspots, but Luke is too busy with other tasks now.

from rev.

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.