- Nov 07, 2019
-
-
Anmol Sethi authored
Thanks again to @renthraysk This provides another significant speedup. benchmark old MB/s new MB/s speedup Benchmark_mask/2/fast-8 405.48 513.25 1.27x Benchmark_mask/3/fast-8 518.93 661.92 1.28x Benchmark_mask/4/fast-8 1207.10 1252.39 1.04x Benchmark_mask/8/fast-8 1708.82 1655.63 0.97x Benchmark_mask/16/fast-8 3418.58 3051.25 0.89x Benchmark_mask/32/fast-8 5789.43 5813.31 1.00x Benchmark_mask/128/fast-8 12819.53 14804.50 1.15x Benchmark_mask/512/fast-8 18247.06 21659.50 1.19x Benchmark_mask/4096/fast-8 19802.31 23885.68 1.21x Benchmark_mask/16384/fast-8 20896.97 25081.11 1.20x
-
- Nov 06, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
See https://github.com/golang/go/issues/31586#issuecomment-550040882 Thanks @renthraysk benchmark old MB/s new MB/s speedup BenchmarkXOR/2/fast-8 470.88 492.61 1.05x BenchmarkXOR/3/fast-8 602.24 719.25 1.19x BenchmarkXOR/4/fast-8 718.82 1186.64 1.65x BenchmarkXOR/8/fast-8 1027.60 1718.71 1.67x BenchmarkXOR/16/fast-8 1413.31 3430.46 2.43x BenchmarkXOR/32/fast-8 2701.81 5585.42 2.07x BenchmarkXOR/128/fast-8 7757.97 13432.37 1.73x BenchmarkXOR/512/fast-8 15155.03 18797.79 1.24x BenchmarkXOR/4096/fast-8 20689.95 20334.61 0.98x BenchmarkXOR/16384/fast-8 21687.87 21613.94 1.00x Now its faster than basic XOR at every byte size greater than 2 on little endian amd64 machines.
-
Anmol Sethi authored
-
- Nov 05, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
Fix race with c.readerShouldLock
-
Anmol Sethi authored
-
- Nov 04, 2019
-
-
Anmol Sethi authored
Closes #168
-
- Nov 02, 2019
-
-
Anmol Sethi authored
CODEOWNERS is unnecessary.
-
- Oct 23, 2019
-
-
Anmol Sethi authored
Fix concurrent read with close
-
Anmol Sethi authored
Closes #164
-
- Oct 14, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
Switch to coveralls.io from codecov.io
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
No need to test both client and server side.
-
Anmol Sethi authored
codecov's uploader keeps failing due to the API being unresponsive and the UI is cluttered compared to codecov.
-
- Oct 13, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
-
- Oct 11, 2019
-
-
Anmol Sethi authored
- For JS we ensure we indicate which size initiated the close first from our POV - For normal Go, concurrent closes block until the first one succeeds instead of returning early
-
Anmol Sethi authored
-
- Oct 10, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
- Oct 09, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
Much faster.
-
Anmol Sethi authored
-
Anmol Sethi authored
Should not fail now that I've adjusted the chunk size.
-
Anmol Sethi authored
Implement complete close handshake
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
-
Anmol Sethi authored
I changed my mind after #103 as browsers include a wasClean event to indicate whether the connection was closed cleanly. From my tests, if a server using this library prior to this commit initiates the close handshake, wasClean will be false for the browser as the connection was closed before it could respond with a close frame. Thus, I believe it's necessary to fully implement the close handshake. @stephenyama You'll enjoy this.
-
- Oct 08, 2019
-
-
Anmol Sethi authored
-
- Oct 06, 2019
-
-
Anmol Sethi authored
-
Anmol Sethi authored
Add websocket.CloseStatus
-
Anmol Sethi authored
-