kassane / asio-zig

asio (standalone) event-loop to C API - Experimental (uses zig 0.12.0)
MIT License
4 stars 2 forks source link

Zig test - run single-thread (only) #3

Open kassane opened 1 year ago

kassane commented 1 year ago

Run the fibonacci sample C in comparison to Zig test . A discrepancy in runtime between the zig test and fib-c is perceived.

Note: This comparison occurs if you put the same values into the fib(n) function. The zig test has smaller numbers to better pass the CI test.

Reference

kassane commented 1 year ago

Although zig test run sequentially, it only displays the output after finishing all calculations. Different from the sample application.