Skip to content

Instantly share code, notes, and snippets.

@aryairani
Created May 17, 2020 22:49
Show Gist options
  • Save aryairani/251ffb6e91c0b121a0f3e1fcfe94a48b to your computer and use it in GitHub Desktop.
Save aryairani/251ffb6e91c0b121a0f3e1fcfe94a48b to your computer and use it in GitHub Desktop.
confusing benchmarks

With -O2 accidentally

changes to SlimCopy..hs MB*s
no change 329.2
State.Strict 230.9
Writer.Strict 176.3
Writer.Strict + State.Strict 176.5
Index 386.9
Index + Map.Strict 321.7
Index + State.Strict 230.6
Index + Map.Strict + Writer.Strict 187.1
Index + Writer.Strict 184.0
Index + Writer.Strict + State.Strict 181.3

With -O0 again.

changes to SlimCopy..hs MB*s
no change 209.7
State.Strict 209.3
Writer.Strict 218.4
Writer.Strict + State.Strict 207.0
Index 314.8
Index + Map.Strict 350.2
Index + State.Strict 213-219
Index + Map.Strict + Writer.Strict 206-210
Index + Writer.Strict 204-220
Index + Writer.Strict + State.Strict 207.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment