Hacker GitHub

← All repos

atemerev/skynet

View on GitHub ↗ ★ 1,059 C#

Skynet 1M threads microbenchmark

9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2016-02-14 · latest 2016-02-19

Mentions per year 9 mentions · busiest year 2016 (9)
20082026
  1. …I installed the "official PKG." I then ran `dotnet restore` for a project I was trying to run ( https://github.com/atemerev/skynet ). It downloaded a couple hundred packages, then failed with an error like, "there is no run-time assembly…
  2. This is a joke, ok take this C++ version that takes 0 time to finish: https://github.com/atemerev/skynet/pull/26#issuecomment-1845...
  3. Just tune the VM: https://github.com/atemerev/skynet/issues/33 and speed doubles :)
  4. Just to drive the whole "this comparison is misleading" point further: https://github.com/atemerev/skynet/pull/23 Lwt is a cooperative multi-threading library with a particular semantic: A task that doesn't block doesn't even yield, it…
  5. ….NET Async version with bluebird promises instead of Tasks. Ends up being almost 2 times faster: https://github.com/atemerev/skynet/pull/16 (Only 50% faster if we return Promise.resolve(num) though)
  6. …a tail recursion. Even that it's a small list of 10 integers, it is still created 1 million times. https://github.com/atemerev/skynet/blob/master/erlang/skynet... EDIT: it seems that list:seq overhead is insignificant - so it doesn't…
  7. No? In the scala code the timer is started and Actors are created. No warmup anywhere. https://github.com/atemerev/skynet/blob/master/scala/src/mai...
  8. …as fast to spawn as goroutines. edit: and the erlang bench allocates a bunch of lists on startup: https://github.com/atemerev/skynet/blob/master/erlang/skynet... `lists:seq()` will allocate a 10-elements linked list, considering this is…