Git Product home page Git Product logo

aoc-2022's Introduction

using rust and nim for aoc this year. solutions will only use built-in libs. implementations may slightly differ. i am mostly collecting this data because i think it's neat.

Deck the halls with boughs of benchmark

rust: cargo run --release [day/s]

nim: nim c -r main.nim [day] -d:danger --gc:arc (additional flags used for maximum perf)

Day Rust Nim
1 0.0451 ms 0.1861ms
2 1.3260 ms 0.3668ms
3 0.4499 ms 4.3434ms
4 0.1567 ms n/a
5 0.1016 ms n/a
6 0.3461 ms n/a
7 0.1081 ms n/a
8 0.9521 ms n/a
9 0.9655 ms n/a
10 0.0175 ms n/a
11 15.4718 ms n/a
12 1.0942 ms n/a
13 1.2676 ms n/a
14 94.2963 ms n/a

does not include compilation or arg parsing. includes input file read time.

aoc-2022's People

Contributors

gibbyfree avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.