Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor aead implementation #476

Merged
merged 20 commits into from
Aug 29, 2024
Merged

refactor aead implementation #476

merged 20 commits into from
Aug 29, 2024

Commits on Aug 26, 2024

  1. g

    komuw committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    f4aad6f View commit details
    Browse the repository at this point in the history
  2. g

    komuw committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    172884a View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. go test -run=XXXX -bench=BenchmarkEnc -count=10 github.com/komuw/ong/…

    …cry > old.txt
    
    go test -run=XXXX -bench=BenchmarkEnc -count=10 github.com/komuw/ong/cry > new.txt
    benchstat old.txt new.txt
    
    goos: linux
    goarch: amd64
    pkg: github.com/komuw/ong/cry
    cpu: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
          │   old.txt   │            new.txt            │
          │   sec/op    │   sec/op     vs base          │
    Enc-4   5.713µ ± 6%   5.714µ ± 9%  ~ (p=0.579 n=10)
    
          │  old.txt   │              new.txt              │
          │    B/op    │    B/op     vs base               │
    Enc-4   672.0 ± 0%   728.0 ± 0%  +8.33% (p=0.000 n=10)
    
          │  old.txt   │              new.txt               │
          │ allocs/op  │ allocs/op   vs base                │
    Enc-4   14.00 ± 0%   16.00 ± 0%  +14.29% (p=0.000 n=10)
    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3468e7f View commit details
    Browse the repository at this point in the history
  2. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3a92025 View commit details
    Browse the repository at this point in the history
  3. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ad15fc6 View commit details
    Browse the repository at this point in the history
  4. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ec24a22 View commit details
    Browse the repository at this point in the history
  5. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    76bd0a0 View commit details
    Browse the repository at this point in the history
  6. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c78fd88 View commit details
    Browse the repository at this point in the history
  7. neww

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    da241ee View commit details
    Browse the repository at this point in the history
  8. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    3920777 View commit details
    Browse the repository at this point in the history
  9. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    79293d3 View commit details
    Browse the repository at this point in the history
  10. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    39b601f View commit details
    Browse the repository at this point in the history
  11. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    d04a5e6 View commit details
    Browse the repository at this point in the history
  12. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    888df35 View commit details
    Browse the repository at this point in the history
  13. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    b3a0874 View commit details
    Browse the repository at this point in the history
  14. goos: linux

    goarch: amd64
    pkg: github.com/komuw/ong/cry
    cpu: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
          │   old.txt   │            new.txt            │
          │   sec/op    │   sec/op     vs base          │
    Enc-4   5.713µ ± 6%   5.756µ ± 7%  ~ (p=0.853 n=10)
    
          │  old.txt   │            new.txt             │
          │    B/op    │    B/op     vs base            │
    Enc-4   672.0 ± 0%   672.0 ± 0%  ~ (p=1.000 n=10) ¹
    ¹ all samples are equal
    
          │  old.txt   │            new.txt             │
          │ allocs/op  │ allocs/op   vs base            │
    Enc-4   14.00 ± 0%   14.00 ± 0%  ~ (p=1.000 n=10) ¹
    ¹ all samples are equal
    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    e005114 View commit details
    Browse the repository at this point in the history
  15. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    84dd156 View commit details
    Browse the repository at this point in the history
  16. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    f404651 View commit details
    Browse the repository at this point in the history
  17. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8fb24c3 View commit details
    Browse the repository at this point in the history
  18. g

    komuw committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    5868b1a View commit details
    Browse the repository at this point in the history