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
20082026
-
…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…
comment by SloopJon · 2016-02-19 · in ASP.NET Core – 2300% More Requests Served per Second -
This is a joke, ok take this C++ version that takes 0 time to finish: https://github.com/atemerev/skynet/pull/26#issuecomment-1845...
comment by pepper__chico · 2016-02-16 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
Just tune the VM: https://github.com/atemerev/skynet/issues/33 and speed doubles :)
comment by jlouis · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
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…
comment by Drup · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
….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)
comment by spion · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
…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…
comment by nivertech · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
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...
comment by dtech · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
…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…
comment by masklinn · 2016-02-14 · in Akka, Haskell, Erlang, Go and .NET Core compared on 1M threads -
▲ 170
Akka, Haskell, Erlang, Go and .NET Core compared on 1M threadsstory by atemerev · 2016-02-14 · 158 comments