JetBrains / lincheck

Framework for testing concurrent data structures
Mozilla Public License 2.0
564 stars 33 forks source link

Optimize internal synchronization #173

Closed ndkoval closed 1 year ago

ndkoval commented 1 year ago

Surprisingly, this small change speeds up Lincheck twice.

ndkoval commented 1 year ago

@avpotapov00, can you check whether the suggested change speeds up the tests on your machine?

avpotapov00 commented 1 year ago

@avpotapov00, can you check whether the suggested change speeds up the tests on your machine?

Yes, I already checked before I approved it, and this fix really speeds up Lincheck approximately twice (about 1.7 times on my machine)

ndkoval commented 1 year ago

@avpotapov00 thank you!