Skip to content

Zig port of dendibakh/perf-ninja - an online course where you can learn and master the skill of low-level performance analysis and tuning.

Notifications You must be signed in to change notification settings

JonathanHallstrom/perf-ninja-zig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

perf-ninja-zig

Zig port of dendibakh/perf-ninja

Instructions

10 Read dendibakh/perf-ninja
20 Choose an exercise and go to its directory (for example labs/misc/warmup1)
30 Run zig build test to check your solution
40 Run zig build run to benchmark it*
50 Optimize
60 GOTO 20

*If you are using an IDE and you press a run button or similar it likely won't apply the proper optimization mode

If you get stuck, feel free to checkout the solutions branch to see an example solution for each exercise.

Profiling

To run only your code, pass the --skip-original flag (e.g., zig build run -- --skip-original), and to run only the original pass --skip-solution.

About

Zig port of dendibakh/perf-ninja - an online course where you can learn and master the skill of low-level performance analysis and tuning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages