Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression] update to go 1.22.0 #508

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ RUN rm /home/builduser/swift-5.9-RELEASE-ubuntu22.04/usr/bin/clang
RUN rm /home/builduser/swift-5.9-RELEASE-ubuntu22.04/usr/bin/llvm*

# install go
RUN wget https://go.dev/dl/go1.21.4.linux-amd64.tar.gz
RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go1.21.4.linux-amd64.tar.gz
RUN wget https://go.dev/dl/go1.22.0.linux-amd64.tar.gz
RUN rm -rf /usr/local/go && tar -C /usr/local -xzf go1.22.0.linux-amd64.tar.gz
ENV PATH="$PATH:/usr/local/go/bin"

# install ldc2
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21.4
go 1.22.0

use (
./go
Expand Down
2 changes: 1 addition & 1 deletion go/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module g.io/related

go 1.21.4
go 1.22.0
2 changes: 1 addition & 1 deletion go_con/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module g.io/related_concurrent

go 1.21.3
go 1.22.0
134 changes: 67 additions & 67 deletions raw_results.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
Go:

Processing time (w/o IO): 17.939266ms
total: 0.04s memory: 13056k
Processing time (w/o IO): 16.267977ms
total: 0.04s memory: 12928k
Processing time (w/o IO): 16.576209ms
total: 0.04s memory: 13052k
Processing time (w/o IO): 16.952881ms
total: 0.04s memory: 13440k
Processing time (w/o IO): 17.408182ms
total: 0.04s memory: 13040k
Processing time (w/o IO): 17.389033ms
total: 0.04s memory: 13184k
Processing time (w/o IO): 16.128617ms
total: 0.04s memory: 13288k
Processing time (w/o IO): 16.299087ms
total: 0.04s memory: 13312k
Processing time (w/o IO): 16.128567ms
total: 0.04s memory: 13056k
Processing time (w/o IO): 18.68714ms
total: 0.04s memory: 13184k
Processing time (w/o IO): 19.165878ms
total: 0.04s memory: 13140k
Processing time (w/o IO): 21.219787ms
total: 0.05s memory: 13056k
Processing time (w/o IO): 19.314549ms
total: 0.07s memory: 13256k
Processing time (w/o IO): 19.227788ms
total: 0.08s memory: 13440k
Processing time (w/o IO): 19.931748ms
total: 0.07s memory: 13548k
Processing time (w/o IO): 19.921648ms
total: 0.07s memory: 13440k
Processing time (w/o IO): 19.186638ms
total: 0.10s memory: 13048k
Processing time (w/o IO): 19.481769ms
total: 0.09s memory: 13256k
Processing time (w/o IO): 19.130558ms
total: 0.09s memory: 13312k
Processing time (w/o IO): 19.895938ms
total: 0.10s memory: 13568k

Go Concurrent:

Processing time (w/o IO): 5.45517ms
total: 0.03s memory: 13664k
Processing time (w/o IO): 5.860442ms
Processing time (w/o IO): 5.076796ms
total: 0.03s memory: 13944k
Processing time (w/o IO): 5.191196ms
total: 0.03s memory: 13512k
Processing time (w/o IO): 4.969306ms
total: 0.03s memory: 13492k
Processing time (w/o IO): 4.855626ms
total: 0.03s memory: 13556k
Processing time (w/o IO): 4.894055ms
total: 0.03s memory: 13568k
Processing time (w/o IO): 5.430689ms
total: 0.03s memory: 13824k
Processing time (w/o IO): 6.952747ms
total: 0.03s memory: 13688k
Processing time (w/o IO): 5.474179ms
total: 0.03s memory: 13824k
Processing time (w/o IO): 5.48447ms
total: 0.03s memory: 13568k
Processing time (w/o IO): 6.315333ms
total: 0.03s memory: 13696k
Processing time (w/o IO): 5.506409ms
total: 0.03s memory: 13696k
Processing time (w/o IO): 5.893912ms
total: 0.03s memory: 13652k
Processing time (w/o IO): 5.794461ms
total: 0.03s memory: 13824k
Processing time (w/o IO): 5.280736ms
total: 0.03s memory: 13952k
Processing time (w/o IO): 5.032246ms
total: 0.03s memory: 13936k
Processing time (w/o IO): 8.746792ms
total: 0.03s memory: 13440k
Processing time (w/o IO): 5.133366ms
total: 0.03s memory: 13660k
Processing time (w/o IO): 5.542306ms
total: 0.03s memory: 13312k

Rust:

Expand Down Expand Up @@ -1280,21 +1280,21 @@ Java Concurrent (JIT):

Go:

Processing time (w/o IO): 241.31599ms
total: 0.38s memory: 44084k
Processing time (w/o IO): 236.759844ms
total: 0.36s memory: 43936k
Processing time (w/o IO): 240.662466ms
total: 0.37s memory: 44300k
Processing time (w/o IO): 287.871668ms
total: 0.53s memory: 43972k
Processing time (w/o IO): 286.210359ms
total: 0.41s memory: 43352k
Processing time (w/o IO): 291.000867ms
total: 0.41s memory: 43248k

Go Concurrent:

Processing time (w/o IO): 77.51255ms
total: 0.21s memory: 45840k
Processing time (w/o IO): 76.411284ms
total: 0.20s memory: 43916k
Processing time (w/o IO): 77.412899ms
total: 0.20s memory: 43836k
Processing time (w/o IO): 64.079358ms
total: 0.18s memory: 44756k
Processing time (w/o IO): 65.373227ms
total: 0.19s memory: 43852k
Processing time (w/o IO): 64.345217ms
total: 0.22s memory: 43640k

Rust:

Expand Down Expand Up @@ -1762,21 +1762,21 @@ Java Concurrent (JIT):

Go:

Processing time (w/o IO): 2.122291333s
total: 2.53s memory: 161472k
Processing time (w/o IO): 2.100949036s
total: 2.53s memory: 161868k
Processing time (w/o IO): 2.096549771s
total: 2.50s memory: 162128k
Processing time (w/o IO): 2.48071463s
total: 3.40s memory: 158820k
Processing time (w/o IO): 2.482995028s
total: 2.93s memory: 159016k
Processing time (w/o IO): 2.4781956s
total: 3.19s memory: 157676k

Go Concurrent:

Processing time (w/o IO): 638.57345ms
total: 1.06s memory: 162620k
Processing time (w/o IO): 633.199069ms
total: 1.05s memory: 164284k
Processing time (w/o IO): 640.16498ms
total: 1.05s memory: 162072k
Processing time (w/o IO): 559.109808ms
total: 0.98s memory: 159940k
Processing time (w/o IO): 541.360453ms
total: 1.39s memory: 159820k
Processing time (w/o IO): 539.516254ms
total: 1.36s memory: 161252k

Rust:

Expand Down Expand Up @@ -1867,10 +1867,10 @@ Numpy:
~~~~~~~~^~~~~~~~~~~
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_base.py", line 624, in __matmul__
return self._mul_dispatch(other)
^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_base.py", line 535, in _mul_dispatch
return self._mul_sparse_matrix(other)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_compressed.py", line 528, in _mul_sparse_matrix
indices = np.empty(nnz, dtype=idx_dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -1885,10 +1885,10 @@ Numpy:
~~~~~~~~^~~~~~~~~~~
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_base.py", line 624, in __matmul__
return self._mul_dispatch(other)
^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_base.py", line 535, in _mul_dispatch
return self._mul_sparse_matrix(other)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/related_post_gen/python/venv/lib/python3.11/site-packages/scipy/sparse/_compressed.py", line 528, in _mul_sparse_matrix
indices = np.empty(nnz, dtype=idx_dtype)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ docker run -e TEST_NAME=all -it --rm databench
| D (v2) | 11.46 ms | $\textsf{\color{lightgreen}118.74 ms}$ | $\textsf{\color{lightgreen}943.36 ms}$ | 1.07 s |
| Rust | $\textsf{\color{lightgreen}9.62 ms}$ | 122.62 ms | 1.04 s | 1.18 s |
| D | 18.61 ms | 239.68 ms | 2.04 s | 2.30 s |
| Go | 16.98 ms | 239.58 ms | 2.11 s | 2.36 s |
| Java (JIT) | 19.60 ms | 249.33 ms | 2.13 s | 2.40 s |
| Neat | 19.21 ms | 260.15 ms | 2.14 s | 2.42 s |
| C++ | 18.20 ms | 263.00 ms | 2.26 s | 2.54 s |
| Nim | 17.04 ms | 255.82 ms | 2.27 s | 2.55 s |
| C# (AOT) | 18.53 ms | 266.42 ms | 2.32 s | 2.60 s |
| C# (JIT) | 19.13 ms | 264.97 ms | 2.34 s | 2.62 s |
| Go | 19.65 ms | 288.36 ms | 2.48 s | 2.79 s |
| Julia | 21.01 ms | 312.98 ms | 2.65 s | 2.98 s |
| Zig | 20.00 ms | 305.33 ms | 2.71 s | 3.03 s |
| Vlang | 22.57 ms | 320.61 ms | 2.73 s | 3.08 s |
Expand Down Expand Up @@ -115,10 +115,10 @@ docker run -e TEST_NAME=all -it --rm databench
| C# Concurrent (JIT) | 7.55 ms | $\textsf{\color{lightgreen}45.08 ms}$ | $\textsf{\color{lightgreen}369.55 ms}$ | 422.17 ms |
| C# Concurrent (AOT) | $\textsf{\color{lightgreen}4.33 ms}$ | 51.95 ms | 389.07 ms | 445.35 ms |
| D Concurrent | 7.09 ms | 61.79 ms | 452.55 ms | 521.43 ms |
| Go Concurrent | 5.47 ms | 64.60 ms | 546.66 ms | 616.73 ms |
| C++ Concurrent | 5.10 ms | 68.67 ms | 558.33 ms | 632.10 ms |
| Rust Concurrent | 5.27 ms | 67.41 ms | 566.25 ms | 638.94 ms |
| Nim Concurrent | 5.32 ms | 68.15 ms | 568.41 ms | 641.88 ms |
| Go Concurrent | 5.82 ms | 77.11 ms | 637.31 ms | 720.24 ms |
| Julia Concurrent | 6.03 ms | 89.56 ms | 665.41 ms | 761.00 ms |
| F# Concurrent | 8.50 ms | 99.67 ms | 875.67 ms | 983.83 ms |
| Swift Concurrent | 10.69 ms | 119.00 ms | 986.94 ms | 1.12 s |
Expand Down