From b4274c96884cdb9d72085a8221a6c0ed24b3e67c Mon Sep 17 00:00:00 2001 From: dmang-dev <282426319+dmang-dev@users.noreply.github.com> Date: Fri, 15 May 2026 15:47:52 -0700 Subject: [PATCH] Add hash-bench-n64 to Programming/C/Example Code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A libdragon-based ROM that times 32 hash algorithms on the VR4300 and displays microseconds-per-iteration and KB/s on screen across two sort modes and a buffer-size sweep. Sits naturally next to n64zlibbench (already in the section) — same idea, more algorithms, notably including SHA-512 which beats SHA-256 on N64 thanks to the VR4300 being the only 64-bit-native CPU in the family. - Repo: https://github.com/dmang-dev/hash-bench-n64 - v1.0.0 release with prebuilt 1 MiB .z64: https://github.com/dmang-dev/hash-bench-n64/releases/tag/v1.0.0 - License: MIT - Built with: libdragon Tested in Ares 1.x and mupen64plus. Project64 < 4.x rejects libdragon's custom IPL3 (documented in the README). I'm the author. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 25c572a..c87521e 100644 --- a/README.md +++ b/README.md @@ -437,6 +437,7 @@ A curated list of Nintendo 64 development resources including toolchains, docume * [CounterEmotion-Bar](https://github.com/SpookyIluha/CounterEmotion-Bar) - A Targem Games 3-Day GameJam 2025 entry built with `libdragon` and `tiny3d` * [Legend of Elya](https://github.com/Scottcjn/legend-of-elya-n64) - A 4-layer nano-GPT neural network (819K parameters) running natively on the N64's MIPS R4300i FPU, believed to be the first LLM on Nintendo 64 hardware +* [hash-bench-n64](https://github.com/dmang-dev/hash-bench-n64) - Hash-algorithm benchmark ROM that times 32 cryptographic and non-cryptographic hashes (CRC, MD5, SHA-1, SHA-512, BLAKE2s, etc.) on the VR4300 and displays µs/iter and KB/s on screen, using `libdragon` ### Rust