better readme i think
This commit is contained in:
parent
f362eb06e0
commit
6b78c004af
9
justfile
9
justfile
|
@ -1,12 +1,3 @@
|
|||
alias b:= build
|
||||
alias d:= dev
|
||||
alias wd:= windows-dev
|
||||
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
|
||||
dev:
|
||||
nodemon --exec "gcc -o cdoku main.c && ./cdoku" ./main.c
|
||||
|
||||
windows-dev:
|
||||
nodemon --exec "gcc -o cdoku main.c && cdoku" main.c
|
||||
|
||||
build:
|
||||
clang -o cdoku main.c -O3 -ffast-math -lm
|
||||
|
|
16
readme.md
16
readme.md
|
@ -6,7 +6,7 @@ check out ./example.sudoku and ./main.c for more documentation:)
|
|||
|
||||
### building and running
|
||||
|
||||
`just b` or `gcc -o cdoku main.c` to build the binary
|
||||
`just b` to build the binary
|
||||
|
||||
check out `just --list` for more options
|
||||
|
||||
|
@ -14,14 +14,16 @@ check out `just --list` for more options
|
|||
|
||||
### examples and some bench marks
|
||||
|
||||
(forgot to get more than the freq lol)
|
||||
|
||||
#### ./example.sudoku
|
||||
- apline | 1.80 GHz arm - ~1.3s </br>
|
||||
- win64 | 1.60 GHz x86 - ~0.169s</br>
|
||||
- gentoo | 3.18 GHz x86 - ~0.02s </br>
|
||||
|
||||
- apline | 1.80 GHz arm64 - ~1.3s </br>
|
||||
- win64 | 1.60 GHz amd64 - ~0.169s</br>
|
||||
- gentoo | 5.20 GHz amd64 - ~0.02s </br>
|
||||
- gentoo | 2.40 GHz amd64 - ~0.3s </br>
|
||||
#### ./example-hard.sudoku
|
||||
- gentoo | 3.18 GHz x86 - ~1.19s </br>
|
||||
|
||||
- gentoo | 5.20 GHz amd64 - ~54s </br>
|
||||
- gentoo | 2.40 GHz amd64 - ~179s</br>
|
||||
### todo
|
||||
|
||||
- [ ] read json formated
|
||||
|
|
Loading…
Reference in New Issue