Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ziglang/zig
base: 1eda7e0fde88
Choose a base ref
...
head repository: ziglang/zig
compare: 7a3fd89d2539
Choose a head ref
  • 3 commits
  • 8 files changed
  • 1 contributor

Commits on Jan 17, 2018

  1. Fix crypto exports

    tiehuis committed Jan 17, 2018
    Copy the full SHA
    7af53d0 View commit details
    Browse the repository at this point in the history
  2. Add throughput test program

    Blake performance numbers for reference:
    
    ```
    Cpu: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    ```
    
    -- Blake2s
    
    ```
    Zig --release-fast
        485 Mb/s
    Zig --release-safe
        377 Mb/s
    Zig
        11 Mb/s
    ```
    
    -- Blake2b
    ```
    Zig --release-fast
        616 Mb/s
    Zig --release-safe
        573 Mb/s
    Zig
        18 Mb/s
    ```
    tiehuis committed Jan 17, 2018
    Copy the full SHA
    dfd5363 View commit details
    Browse the repository at this point in the history
  3. Add Sha3 hashing functions

    These are on the slower side and could be improved. No performance optimizations
    yet have been done.
    
    ```
    Cpu: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    ```
    
    -- Sha3-256
    
    ```
    Zig --release-fast
        93 Mb/s
    Zig --release-safe
        99 Mb/s
    Zig
        4 Mb/s
    ```
    
    -- Sha3-512
    
    ```
    Zig --release-fast
        49 Mb/s
    Zig --release-safe
        54 Mb/s
    Zig
        2 Mb/s
    ```
    
    Interestingly, release-safe is producing slightly better code than
    release-fast.
    tiehuis committed Jan 17, 2018
    Copy the full SHA
    7a3fd89 View commit details
    Browse the repository at this point in the history