Skip to content

Commit 0bb8d34

Browse files
committed
Update benchmark report [ci skip]
follow up for #294
1 parent 331ca47 commit 0bb8d34

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

_benchmark/README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,22 @@ $ ruby tarai.rb
99
go version go1.24.1 darwin/arm64
1010
ruby 3.4.2 (2025-02-15 revision d2930f8e7a) +PRISM [arm64-darwin24]
1111
Warming up --------------------------------------
12-
sequential 1.000 i/100ms
13-
parallel (Ractor) 1.000 i/100ms
14-
parallel (Fiber) 1.000 i/100ms
15-
parallel (goroutine) 1.000 i/100ms
12+
Ruby: sequential 1.000 i/100ms
13+
Ruby: Ractor 1.000 i/100ms
14+
Ruby: Fiber 1.000 i/100ms
15+
Go: sequential 1.000 i/100ms
16+
Go: goroutine 1.000 i/100ms
1617
Calculating -------------------------------------
17-
sequential 0.018 (± 0.0%) i/s (56.40 s/i) - 1.000 in 56.397748s
18-
parallel (Ractor) 0.052 (± 0.0%) i/s (19.39 s/i) - 1.000 in 19.394641s
19-
parallel (Fiber) 0.018 (± 0.0%) i/s (56.42 s/i) - 1.000 in 56.417936s
20-
parallel (goroutine) 1.581 (± 0.0%) i/s (632.49 ms/i) - 9.000 in 5.743819s
18+
Ruby: sequential 0.018 (± 0.0%) i/s (56.43 s/i) - 1.000 in 56.434220s
19+
Ruby: Ractor 0.052 (± 0.0%) i/s (19.19 s/i) - 1.000 in 19.194061s
20+
Ruby: Fiber 0.018 (± 0.0%) i/s (56.57 s/i) - 1.000 in 56.574037s
21+
Go: sequential 0.451 (± 0.0%) i/s (2.22 s/i) - 3.000 in 6.650596s
22+
Go: goroutine 1.645 (± 0.0%) i/s (607.81 ms/i) - 9.000 in 5.473278s
2123

2224
Comparison:
23-
parallel (goroutine): 1.6 i/s
24-
parallel (Ractor): 0.1 i/s - 30.66x slower
25-
sequential: 0.0 i/s - 89.17x slower
26-
parallel (Fiber): 0.0 i/s - 89.20x slower
25+
Go: goroutine: 1.6 i/s
26+
Go: sequential: 0.5 i/s - 3.65x slower
27+
Ruby: Ractor: 0.1 i/s - 31.58x slower
28+
Ruby: sequential: 0.0 i/s - 92.85x slower
29+
Ruby: Fiber: 0.0 i/s - 93.08x slower
2730
```

0 commit comments

Comments
 (0)