← Run 2026-09-05T193245

Implementation / julia

Julia1.12.1

An inspectable measurement, with the exact build and environment evidence retained from this run.

jitrelaxed
Median wall time163.22 ms
Fastest sample162.36 ms
Slowest sample169.96 ms
Samples retained3

01 / Measurements

Every sample matters.

Individual wall times in seconds. Three samples show observed spread; they do not establish a statistically reliable winner between close results.

Sample 10.163221235 s
Sample 20.162358455 s
Sample 30.169958065 s

02 / Build & protocol

How this was run.

Commands and settings are evidence from the measured revision. They can differ from today’s implementation.

Browse measured source ↗

Compile

julia -e 'using Pkg; Pkg.activate("julia"); Pkg.instantiate(); isempty(Pkg.Registry.reachable_registries()) && Pkg.Registry.add("General"); Pkg.Apps.add(PackageSpec(name="JuliaC", version="0.3.10"))' && /tmp/bench-julia-depot/bin/juliac --output-exe leibniz --trim --experimental --bundle bun julia

Execute

bun/bin/leibniz

Historical protocol recovered from the measured driver. These fields were not embedded in the original result. The raw JSON remains unchanged.

03 / The implementation

Read what ran.

The implementation and supporting files at the measured revision. Highlighting is added for readability; the source text is unchanged.

Recovered from the measured Git revision; not embedded in the original raw results

Browse this revision ↗
src/julia/src/LeibnizApp.jl18 lines
module LeibnizApp

function f(rounds)
    pi = 1.0
    @fastmath @simd for i in 2:(rounds + 2)
        pi += (iseven(i) ? -1 : 1) / (2*i - 1)
    end
    return pi*4
end

function (@main)(ARGS)
    rounds = parse(Int64, convert(String, readchomp("rounds.txt")))
    print(Core.stdout, f(rounds))
    0
end

end

SHA-256 · df100ddf5c960e9a76beb935c5e244ccbac7ee89008810cb7b0bfd56101fce3a

src/julia/Project.toml4 lines
name = "LeibnizApp"
uuid = "ab14bd82-214b-4c30-9ae1-ad862d155324"
version = "1.0.0"

SHA-256 · c08b09414b8ccd2bf5453212a92948b4e6e88f7b1e2c161e760e1f5c28f3b8f0

04 / Package provenance

Beyond a version number.

Resolved Nix revisions and store paths identify the packages in the recorded Devbox lock. Other platforms listed by the resolver are alternatives, not machines used in this run.

gcc@15.2.015.2.0

aarch64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/rd7b05akhyscn3g6wpvsb9dkkach23l9-gcc-wrapper-15.2.0",
      "default": true
    },
    {
      "name": "man",
      "path": "/nix/store/3n21z69f4gyjlxzckp7ahwh5xm7ja2iq-gcc-wrapper-15.2.0-man",
      "default": true
    },
    {
      "name": "info",
      "path": "/nix/store/r9v30l61j6ysi014s5l2i9p8k0gmhym8-gcc-wrapper-15.2.0-info"
    }
  ],
  "store_path": "/nix/store/rd7b05akhyscn3g6wpvsb9dkkach23l9-gcc-wrapper-15.2.0"
}

aarch64-linux

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/d6gsw7k6sba2m5zjd3xm79kaah97x62w-gcc-wrapper-15.2.0",
      "default": true
    },
    {
      "name": "man",
      "path": "/nix/store/j3b3p3l6p756kkgd4kaxzhrs50yplf2z-gcc-wrapper-15.2.0-man",
      "default": true
    },
    {
      "name": "info",
      "path": "/nix/store/b22nq0v9l958nhkf91292nq1dmh4irzr-gcc-wrapper-15.2.0-info"
    }
  ],
  "store_path": "/nix/store/d6gsw7k6sba2m5zjd3xm79kaah97x62w-gcc-wrapper-15.2.0"
}

x86_64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/a9dhskc2ladjh7aph2z1b7x0lsdl506l-gcc-wrapper-15.2.0",
      "default": true
    },
    {
      "name": "man",
      "path": "/nix/store/zhrv9vafnz3agiwznkij8p36fpa17py7-gcc-wrapper-15.2.0-man",
      "default": true
    },
    {
      "name": "info",
      "path": "/nix/store/y0vblnaz09f5hws1pnx59fzvlpcrd1zn-gcc-wrapper-15.2.0-info"
    }
  ],
  "store_path": "/nix/store/a9dhskc2ladjh7aph2z1b7x0lsdl506l-gcc-wrapper-15.2.0"
}

x86_64-linux Matching architecture / OS

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0",
      "default": true
    },
    {
      "name": "man",
      "path": "/nix/store/l4ybxax0plgjmcmna8lzyv2gal11k7m3-gcc-wrapper-15.2.0-man",
      "default": true
    },
    {
      "name": "info",
      "path": "/nix/store/9x640dyjh4kxiw70ifpp5s2bcnk7l2ai-gcc-wrapper-15.2.0-info"
    }
  ],
  "store_path": "/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0"
}
Complete package record
{
  "last_modified": "2026-07-08T21:13:06Z",
  "resolved": "github:NixOS/nixpkgs/389ed85304b281ca7f306cf8a1eb4378651ca44e#gcc",
  "source": "devbox-search",
  "version": "15.2.0",
  "systems": {
    "aarch64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/rd7b05akhyscn3g6wpvsb9dkkach23l9-gcc-wrapper-15.2.0",
          "default": true
        },
        {
          "name": "man",
          "path": "/nix/store/3n21z69f4gyjlxzckp7ahwh5xm7ja2iq-gcc-wrapper-15.2.0-man",
          "default": true
        },
        {
          "name": "info",
          "path": "/nix/store/r9v30l61j6ysi014s5l2i9p8k0gmhym8-gcc-wrapper-15.2.0-info"
        }
      ],
      "store_path": "/nix/store/rd7b05akhyscn3g6wpvsb9dkkach23l9-gcc-wrapper-15.2.0"
    },
    "aarch64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/d6gsw7k6sba2m5zjd3xm79kaah97x62w-gcc-wrapper-15.2.0",
          "default": true
        },
        {
          "name": "man",
          "path": "/nix/store/j3b3p3l6p756kkgd4kaxzhrs50yplf2z-gcc-wrapper-15.2.0-man",
          "default": true
        },
        {
          "name": "info",
          "path": "/nix/store/b22nq0v9l958nhkf91292nq1dmh4irzr-gcc-wrapper-15.2.0-info"
        }
      ],
      "store_path": "/nix/store/d6gsw7k6sba2m5zjd3xm79kaah97x62w-gcc-wrapper-15.2.0"
    },
    "x86_64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/a9dhskc2ladjh7aph2z1b7x0lsdl506l-gcc-wrapper-15.2.0",
          "default": true
        },
        {
          "name": "man",
          "path": "/nix/store/zhrv9vafnz3agiwznkij8p36fpa17py7-gcc-wrapper-15.2.0-man",
          "default": true
        },
        {
          "name": "info",
          "path": "/nix/store/y0vblnaz09f5hws1pnx59fzvlpcrd1zn-gcc-wrapper-15.2.0-info"
        }
      ],
      "store_path": "/nix/store/a9dhskc2ladjh7aph2z1b7x0lsdl506l-gcc-wrapper-15.2.0"
    },
    "x86_64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0",
          "default": true
        },
        {
          "name": "man",
          "path": "/nix/store/l4ybxax0plgjmcmna8lzyv2gal11k7m3-gcc-wrapper-15.2.0-man",
          "default": true
        },
        {
          "name": "info",
          "path": "/nix/store/9x640dyjh4kxiw70ifpp5s2bcnk7l2ai-gcc-wrapper-15.2.0-info"
        }
      ],
      "store_path": "/nix/store/vdaz6sk455r8sbpi7wzaf9vlz5i9yyvx-gcc-wrapper-15.2.0"
    }
  }
}
github:NixOS/nixpkgs/nixpkgs-unstableflake reference
Complete package record
{
  "last_modified": "2026-09-03T10:26:31Z",
  "resolved": "github:NixOS/nixpkgs/9b9402b959a2276982ddd5ad3652a38b97f7c40b?lastModified=1788431191&narHash=sha256-MFClkboDeW56feBCAeAV3Z3J2quGSZFlAOXQ4JjIlIA%3D"
}
hyperfine@1.18.01.18.0

aarch64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/9xndv63zi1n8i42l4fy4kdjw8rs8gnhf-hyperfine-1.18.0",
      "default": true
    }
  ],
  "store_path": "/nix/store/9xndv63zi1n8i42l4fy4kdjw8rs8gnhf-hyperfine-1.18.0"
}

aarch64-linux

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/klirs2wv0wm9p7rkp6v70v5770x73bgf-hyperfine-1.18.0",
      "default": true
    }
  ],
  "store_path": "/nix/store/klirs2wv0wm9p7rkp6v70v5770x73bgf-hyperfine-1.18.0"
}

x86_64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/zvpjdyck0vj7w4piicfxbskv8fw7ik4i-hyperfine-1.18.0",
      "default": true
    }
  ],
  "store_path": "/nix/store/zvpjdyck0vj7w4piicfxbskv8fw7ik4i-hyperfine-1.18.0"
}

x86_64-linux Matching architecture / OS

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/7hj45kx7ln0ncn0i984zbh0gmbliya5j-hyperfine-1.18.0",
      "default": true
    }
  ],
  "store_path": "/nix/store/7hj45kx7ln0ncn0i984zbh0gmbliya5j-hyperfine-1.18.0"
}
Complete package record
{
  "last_modified": "2024-11-03T14:18:04Z",
  "resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#hyperfine",
  "source": "devbox-search",
  "version": "1.18.0",
  "systems": {
    "aarch64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/9xndv63zi1n8i42l4fy4kdjw8rs8gnhf-hyperfine-1.18.0",
          "default": true
        }
      ],
      "store_path": "/nix/store/9xndv63zi1n8i42l4fy4kdjw8rs8gnhf-hyperfine-1.18.0"
    },
    "aarch64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/klirs2wv0wm9p7rkp6v70v5770x73bgf-hyperfine-1.18.0",
          "default": true
        }
      ],
      "store_path": "/nix/store/klirs2wv0wm9p7rkp6v70v5770x73bgf-hyperfine-1.18.0"
    },
    "x86_64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/zvpjdyck0vj7w4piicfxbskv8fw7ik4i-hyperfine-1.18.0",
          "default": true
        }
      ],
      "store_path": "/nix/store/zvpjdyck0vj7w4piicfxbskv8fw7ik4i-hyperfine-1.18.0"
    },
    "x86_64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/7hj45kx7ln0ncn0i984zbh0gmbliya5j-hyperfine-1.18.0",
          "default": true
        }
      ],
      "store_path": "/nix/store/7hj45kx7ln0ncn0i984zbh0gmbliya5j-hyperfine-1.18.0"
    }
  }
}
julia@1.12.11.12.1

aarch64-linux

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/ipi2dcdzb4jbjcia3fh6brrq52pgglx3-julia-1.12.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/ipi2dcdzb4jbjcia3fh6brrq52pgglx3-julia-1.12.1"
}

x86_64-linux Matching architecture / OS

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/x57sqpdmiiwq5bjh8bnbgl6qr7kk5c75-julia-1.12.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/x57sqpdmiiwq5bjh8bnbgl6qr7kk5c75-julia-1.12.1"
}
Complete package record
{
  "last_modified": "2026-01-23T17:20:52Z",
  "resolved": "github:NixOS/nixpkgs/a1bab9e494f5f4939442a57a58d0449a109593fe#julia",
  "source": "devbox-search",
  "version": "1.12.1",
  "systems": {
    "aarch64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/ipi2dcdzb4jbjcia3fh6brrq52pgglx3-julia-1.12.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/ipi2dcdzb4jbjcia3fh6brrq52pgglx3-julia-1.12.1"
    },
    "x86_64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/x57sqpdmiiwq5bjh8bnbgl6qr7kk5c75-julia-1.12.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/x57sqpdmiiwq5bjh8bnbgl6qr7kk5c75-julia-1.12.1"
    }
  }
}
micropython@1.24.11.24.1

aarch64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/g4dz2lvzzhggnxkavi1jiiiy1dpa8c4p-micropython-1.24.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/g4dz2lvzzhggnxkavi1jiiiy1dpa8c4p-micropython-1.24.1"
}

aarch64-linux

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/3yggs5nl5pavnxh8k4adiq09s1f0ppry-micropython-1.24.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/3yggs5nl5pavnxh8k4adiq09s1f0ppry-micropython-1.24.1"
}

x86_64-darwin

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/gav96yf4pxhj59idrs67z59cw3zfimfd-micropython-1.24.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/gav96yf4pxhj59idrs67z59cw3zfimfd-micropython-1.24.1"
}

x86_64-linux Matching architecture / OS

{
  "outputs": [
    {
      "name": "out",
      "path": "/nix/store/vhfgy8vnd904mlzw35z61rh177cvcb40-micropython-1.24.1",
      "default": true
    }
  ],
  "store_path": "/nix/store/vhfgy8vnd904mlzw35z61rh177cvcb40-micropython-1.24.1"
}
Complete package record
{
  "last_modified": "2025-04-10T20:20:34Z",
  "resolved": "github:NixOS/nixpkgs/d19cf9dfc633816a437204555afeb9e722386b76#micropython",
  "source": "devbox-search",
  "version": "1.24.1",
  "systems": {
    "aarch64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/g4dz2lvzzhggnxkavi1jiiiy1dpa8c4p-micropython-1.24.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/g4dz2lvzzhggnxkavi1jiiiy1dpa8c4p-micropython-1.24.1"
    },
    "aarch64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/3yggs5nl5pavnxh8k4adiq09s1f0ppry-micropython-1.24.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/3yggs5nl5pavnxh8k4adiq09s1f0ppry-micropython-1.24.1"
    },
    "x86_64-darwin": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/gav96yf4pxhj59idrs67z59cw3zfimfd-micropython-1.24.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/gav96yf4pxhj59idrs67z59cw3zfimfd-micropython-1.24.1"
    },
    "x86_64-linux": {
      "outputs": [
        {
          "name": "out",
          "path": "/nix/store/vhfgy8vnd904mlzw35z61rh177cvcb40-micropython-1.24.1",
          "default": true
        }
      ],
      "store_path": "/nix/store/vhfgy8vnd904mlzw35z61rh177cvcb40-micropython-1.24.1"
    }
  }
}
Complete Devbox configuration
{
  "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
  "packages": [
    "julia@1.12.1",
    "gcc@15.2.0",
    "hyperfine@1.18.0",
    "micropython@1.24.1"
  ],
  "shell": {
    "init_hook": [
      "echo 'Welcome to devbox!' > /dev/null"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

05 / Environment & limits

The machine behind
the measurement.

Container-visible resources are not necessarily dedicated resources. Hypervisor CPU flags indicate virtualization; CPU counts do not prove exclusive CPU allocation.

All recorded environment fields
{
  "arch": "x86_64",
  "kernel": "6.18.38-talos",
  "cpu_model": "AMD EPYC-Genoa Processor",
  "cpu_flags": "fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core pti ssbd ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves avx512_bf16 clzero xsaveerptr wbnoinvd arat avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid fsrm",
  "cpu_threads": "4",
  "runner": "homelab-argo"
}

“Not recorded” means unknown, not unlimited. Historical data cannot establish CPU isolation, host contention, thermal state or frequency stability.

Declared scheduler settings

Retained Argo stored workflow template; declared settings, not an observation of effective cgroup limits. A CPU request does not reserve exclusive hardware.

06 / Evidence

Take the data with you.

Original bytes are preserved. The checksum below identifies this exact raw JSON file.

Download raw JSON ↓
All other recorded result fields
                    {
  "Mean": "0.1651792512466667s",
  "Max": "0.16995806458s",
  "Target": "julia",
  "Stddev": "0.00416099627351832s",
  "Version": "1.12.1",
  "Language": "Julia",
  "UserTime": "0.15686236s",
  "SystemTime": "0.00720538s",
  "Median": "0.16322123458s",
  "Command": "bun/bin/leibniz",
  "TimesPerRun": [
    0.16322123458,
    0.16235845458,
    0.16995806458
  ],
  "Accuracy": 9.497552769554334,
  "Min": "0.16235845458s",
  "ExitCodesPerRun": [
    0,
    0,
    0
  ],
  "CalculatedPi": "3.1415926525907203",
  "BuildSource": "native-devbox",
  "DevboxImage": "jetpackio/devbox:0.16.0@sha256:0475601f3ddbc1d06be7f7d4d51143dcc005400593407d5e3627fdf7edf6c7dd",
  "AllowNativeFlags": true,
  "MathMode": "relaxed",
  "ExplicitSIMD": false,
  "Algorithm": "leibniz-series",
  "Rounds": 1000000000,
  "Compile": "julia -e 'using Pkg; Pkg.activate(\"julia\"); Pkg.instantiate(); isempty(Pkg.Registry.reachable_registries()) && Pkg.Registry.add(\"General\"); Pkg.Apps.add(PackageSpec(name=\"JuliaC\", version=\"0.3.10\"))' && /tmp/bench-julia-depot/bin/juliac --output-exe leibniz --trim --experimental --bundle bun julia",
  "Run": "bun/bin/leibniz",
  "Nixpkgs": [
    "julia@1.12.1",
    "gcc@15.2.0"
  ],
  "NixFlakes": [],
  "Category": "jit"
}