Giter Site home page Giter Site logo

Comments (2)

evetion avatar evetion commented on August 24, 2024

I cannot reproduce this anymore. Old versions have GC influence, on latest the generated method seems faster. Used the following script (placed in LasIO root dir): https://gist.github.com/evetion/b7f669df7684bb3df650c884d2649bd7

On version 6:

in git/LasIO.jl on  master [?] took 3s julia6 bench_gen.jl
----
New:     0.112777 seconds (2.49 M allocations: 37.959 MiB, 56.51% gc time)
Old:     0.051623 seconds (2.49 M allocations: 37.959 MiB, 8.76% gc time)

➜ in git/LasIO.jl on  master [?] took 3s julia6 bench_gen.jl
----
Old:     0.108885 seconds (2.49 M allocations: 37.959 MiB, 55.33% gc time)
New:     0.055548 seconds (2.49 M allocations: 37.959 MiB, 9.59% gc time)

On 7 (notice GC not running)

in git/LasIO.jl on  master [?] took 2s julia7 bench_gen.jl
----
Old:     0.120513 seconds (2.49 M allocations: 37.959 MiB, 55.66% gc time)
New:     0.044668 seconds (2.49 M allocations: 37.959 MiB)

➜ in git/LasIO.jl on  master [?] took 3s julia7 bench_gen.jl
----
New:     0.117245 seconds (2.49 M allocations: 37.959 MiB, 56.26% gc time)
Old:     0.048513 seconds (2.49 M allocations: 37.959 MiB)

Julia 1.1 rc1

in git/LasIO.jl on  master [?] julia bench_gen.jl
----
New:     0.005911 seconds
Old:     0.006505 seconds

➜ in git/LasIO.jl on  master [?] julia bench_gen.jl
----
Old:     0.006827 seconds
New:     0.005951 seconds

from lasio.jl.

visr avatar visr commented on August 24, 2024

That's good news, thanks for checking!

from lasio.jl.

Related Issues (12)

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.