crystal-benchmarks-game alternatives and similar shards
Based on the "Examples and funny stuff" category.
Alternatively, view crystal-benchmarks-game alternatives based on common mentions on social networks and blogs.
-
crystal-patterns
:book: Examples of GOF patterns written in Crystal -
crystalized_ruby
Write native Ruby extensions in Crystal -
lattice-core-card-game
An demo app for lattice-core -
kemal-chat
Sample application to demonstrate how easy it is to build realtime applications with Kemal using WebSocket. -
kemal-react-chat
This demonstrates how easy it is to build Realtime Web applications with Kemal. -
crystalworld
RealWorld back-end API implementation ๐ -
fast_sleep
Blazing fast (funny) implementation of sleep for Crystal -
kemal-ws-react-pg-todo-app
Realtime Todo application developed with Kemal, React, ES2015 and PostgreSQL -
kemal-vue-chat
this is experimental repo for Kemal and Vue.js (+ WebSocket) -
Crystal-Maze
A* Path finding for PNG mazes, from Ruby now in Crystal. Using StumpyPNG -
kemal-react-pg-chat
Chat application developed with Kemal, React, ES2015 and PostgreSQL -
kemal_elm_chat
Simple chat server written in Crystal (Kemal) w/ an Elm front end. -
docker-kemal
An example Dockerized Crystal Kemal project -
kemal-ws-todo-app
Realtime Todo application developed with Kemal and Websockets -
kemal-pg-sample
Sample app to demonstrate kemal + postgresql usage -
crystal-mysql-crud-example
Crystal MySQL CRUD Example -
kemal-ws-pg-todo-app
Realtime Todo application developed with Kemal, Websockets, ES2015 and PostgreSQL -
kemal-heroku-example
Kemal is super simple web framework powered Crystal lang. These repo show's how to use with heroku. -
chuck-norris-holy-quotes
An Chuck Norris Holy Quotes written in Crystal -
kemal-monetdb-test
Test Kemal - MonetDB Project -
jihantoro-cr-mysql
An repo for jihantoro.net article -
crystal-website
Creating dynamic websites with Crystal and Kemal
Access the most powerful time series database as a service
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of crystal-benchmarks-game or a related project?
README
Crystal implementations for The Computer Language Benchmarks Game
Compared to C, and Ruby implementations from http://benchmarksgame.alioth.debian.org/ .
Running on AMD Ryzen 7 3800X, 16Gb DDR-4 3200 Mghz, Gentoo Linux x86_64.
My other benchmarks: Benchmarks, Jit Benchmarks.
To run and build:
cd DIR
sh build.sh
sh run.sh
Binarytrees
Language | Time,s | Memory, Mb |
---|---|---|
Java | 0.46 | 296.5 |
C++ | 1.16 | 29.4 |
Crystal | 1.35 | 49.5 |
C | 2.02 | 33.4 |
Ruby | 15.15 | 106.5 |
Fannkuchredux
Language | Time,s | Memory, Mb |
---|---|---|
C | 2.55 | 0.7 |
Crystal | 2.56 | 3.9 |
Ruby | 75.32 | 9.0 |
Fasta
Language | Time,s | Memory, Mb |
---|---|---|
C | 1.71 | 0.7 |
Crystal | 2.21 | 3.8 |
Ruby | 57.58 | 149.0 |
Knucleotide
Language | Time,s | Memory, Mb |
---|---|---|
Go | 0.15 | 6.6 |
Crystal | 0.87 | 33.8 |
Ruby | 3.93 | 38.4 |
Mandelbrot
Language | Time,s | Memory, Mb |
---|---|---|
Crystal | 5.51 | 3.8 |
C | 5.61 | 0.7 |
Ruby | 243.38 | 10.2 |
Meteor
Language | Time,s | Memory, Mb |
---|---|---|
C | 0.04 | 0.7 |
Crystal | 0.10 | 4.0 |
NBody
Language | Time,s | Memory, Mb |
---|---|---|
C | 0.76 | 1.0 |
Crystal | 0.99 | 3.9 |
Ruby | 62.68 | 8.8 |
Pidigits
Language | Time,s | Memory, Mb |
---|---|---|
C | 2.22 | 3.3 |
Crystal | 11.87 | 7.9 |
Ruby | 15.02 | 153.3 |
Regexdna
Language | Time,s | Memory, Mb |
---|---|---|
Crystal | 0.84 | 20.7 |
C | 0.92 | 11.1 |
Ruby | 0.93 | 19.0 |
Revcomp
Language | Time,s | Memory, Mb |
---|---|---|
C | 0.13 | 3.7 |
Crystal | 0.99 | 326.4 |
Ruby | 1.52 | 84.7 |
Spectralnorm
Language | Time,s | Memory, Mb |
---|---|---|
C | 1.15 | 0.9 |
Crystal | 1.27 | 4.4 |
Ruby | 188.35 | 10.7 |
Threadring
Language | Time,s | Memory, Mb |
---|---|---|
Crystal | 0.27 | 5.9 |
Go | 0.70 | 2.9 |
Erlang | 1.33 | 30.9 |
Ruby | 8.39 | 22.0 |
TODO
- chameneosredux
Versions
gcc (Gentoo 9.2.0-r2 p3) 9.2.0
ruby 2.5.8p224 (2020-03-31 revision 67882) [x86_64-linux]
Crystal 0.33.0 (2020-04-20) LLVM: 9.0.1
go version go1.13.9 linux/amd64
java: openjdk version "1.8.0_242" OpenJDK Runtime Environment (IcedTea 3.15.0) (Gentoo icedtea-3.15.0)
Erlang/OTP 22 [erts-10.7] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [hipe]