Last active
October 13, 2020 20:35
-
-
Save yuxuanzhuang/17ed6def63b08248db59f2c44e3e0419 to your computer and use it in GitHub Desktop.
Note the last three cells that self._xdr.read()
is marginally slower, which I assume have nothing to do with Transformations
, but still only happens with Transformations
present.
https://gist.github.com/yuxuanzhuang/4918cd1b5d8d62de79eab9df40de4bb7
It is admittedly weird that the presence of transformations affect the read performance.
Is this reproducible?
(Actually, will continue this specific discussion on the other gist.)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@orbeckst Sorry something is wrong with gist, cannot display the old one properly.
It's a 6-core CPU. I have added the benchmark for 6 threads--don't seem to differ much from 1 thread.
So it's most likely a hyperthreading issue. What confused me is, subscribing to 12 threads doesn't hurt the performance without
Transformations
.