Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Chronos coro prime sieve#483

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@Clemente90
Copy link
Contributor

@Clemente90Clemente90 commentedJul 15, 2025
edited
Loading

  • 3.nim no changes.
  • 4.nim same file as3.nim but uses thechronos backend instead ofstd/asyncdispatch.
  • bench_nim.yaml added4.nim to the list and added compiler optimization flags forgcc.
  • app.nimble addedchronos dependency. (I saw rust solutions withtokio so I assumechronos is fine).

@Clemente90
Copy link
ContributorAuthor

@hanabi1224, I don't know why wasm failed.

@Clemente90
Copy link
ContributorAuthor

@hanabi1224 locally run with this repo's harness:

Descriptions

1.nim = using Nim's experimental coro module
3.nim = using asyncdispatch module with my trivial channel
4.nim = using chronos library with my trivial channel
5.nim = using chronos library with chronos's channel
6.nim = using chronos and yasync libraries with yasync's trivial channel

input size 1000

1.nim = 2092.2571
3.nim = 347.0564
4.nim = 157.4326
5.nim = 154.1886
6.nim = 18.504

input size 4000

1.nim = TIMEOUT
3.nim = TIMEOUT
4.nim = 2361.104
5.nim = 2317.1114
6.nim = 267.6666

inheritag reacted with hooray emoji

@Clemente90
Copy link
ContributorAuthor

Run ./.github/python.shPython 3.13.5--2025-07-29 01:22:35--  https://github.com/pyston/pyston/releases/download/pyston_2.3.5/pyston_2.3.5_portable_amd64.tar.gzResolving github.com (github.com)... 140.82.116.3Connecting to github.com (github.com)|140.82.116.3|:443... connected.HTTP request sent, awaiting response... 503 Service Unavailable2025-07-29 01:22:38 ERROR 503: Service Unavailable.tar: This does not look like a tar archivegzip: stdin: unexpected end of filetar: Child returned status 1tar: Error is not recoverable: exiting now./.github/python.sh: 17: cd: can't cd to pyston_2.3.5./.github/python.sh: 19: pyston3: not foundError: Process completed with exit code 127.

@hanabi1224 The workflow errored on an HTTP request for Pyston. Its unrelated to my changes.
However, when I ran the full bench I did see that my change affected the Nim mandelbrot test. I'll look into that.

@Clemente90
Copy link
ContributorAuthor

@hanabi1224 I think it should be all set. I de-listed4.nim too.

@hanabi1224hanabi1224 merged commitad18b20 intohanabi1224:mainJul 31, 2025
33 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hanabi1224hanabi1224hanabi1224 left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Clemente90@hanabi1224

[8]ページ先頭

©2009-2025 Movatter.jp