Coder Social home page Coder Social logo

Comments (2)

giordano avatar giordano commented on July 22, 2024

How did you measure that? For me, with beta1:

julia> @time m=[big(1)//(n+m) for n in 1:35, m in 1:35]; m*inv(m);
  0.159363 seconds (270.70 k allocations: 13.532 MiB, 16.09% gc time, 93.20% compilation time)

julia> @time m=[big(1)//(n+m) for n in 1:35, m in 1:35]; m*inv(m);
  0.042357 seconds (74.48 k allocations: 3.597 MiB, 98.83% compilation time)

and with beta2

julia> @time m=[big(1)//(n+m) for n in 1:35, m in 1:35]; m*inv(m);
  0.149622 seconds (271.06 k allocations: 13.540 MiB, 14.87% gc time, 92.18% compilation time)

julia> @time m=[big(1)//(n+m) for n in 1:35, m in 1:35]; m*inv(m);
  0.040999 seconds (74.47 k allocations: 3.595 MiB, 98.85% compilation time)

julia> versioninfo()
Julia Version 1.11.0-beta2
Commit edb3c92d6a6 (2024-05-29 09:37 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, haswell)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)

from julia.

jmichel7 avatar jmichel7 commented on July 22, 2024

I was using @b from Chairmarks. But I cannot reproduce with @time. Sorry for the wrong message. I close the issue

from julia.

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.