aboutsummaryrefslogtreecommitdiff
path: root/stm_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify code into default repo formatEuAndreh2025-01-221-274/+0
|
* Merge pull request #4 from chrismwendt/genericsMatt Joiner2022-06-141-38/+39
|\ | | | | Generics
| * replace "interface{}" with "any"Chris Wendt2022-06-081-4/+4
| |
| * remove unnecessary type parametersChris Wendt2022-06-081-11/+11
| |
| * Make Operation genericMatt Joiner2022-06-081-7/+8
| | | | | | | | From https://github.com/anacrolix/stm/commit/80e033aa1f2218b83fb5891671ed795de72e19d5
| * BIG change: generic Var[T], txVar, etc.Chris Wendt2022-06-081-37/+37
| |
* | Bump test timeout (#3)Chris Wendt2022-06-081-1/+1
|/
* Add retry profilingMatt Joiner2020-10-021-1/+1
|
* Wake watchers until the var changes againMatt Joiner2020-09-301-3/+3
|
* Add custom VarValue and const for sleep backoffMatt Joiner2020-09-101-1/+1
|
* Panic when a transaction blocks after reading nothingMatt Joiner2020-04-151-11/+32
|
* Make returns explicitMatt Joiner2019-11-061-49/+43
|
* Add parallel PingPong benchmarkMatt Joiner2019-11-041-0/+7
| | | | This should help demonstrate any speed-up from removing global synchronization primitives.
* Fix TestDecrementMatt Joiner2019-11-041-6/+4
| | | | With only a single cpu it would spin endlessly without a synchronization point (since changing AtomicGet to use atomics).
* Add Tx.Return and a return value from AtomicallyMatt Joiner2019-10-311-18/+12
|
* Add PingPong test and benchmarkMatt Joiner2019-10-231-0/+41
|
* Put benchmarks in their own fileMatt Joiner2019-10-231-122/+0
|
* broadcast in AtomicSetlukechampine2016-09-301-0/+19
|
* go fmtlukechampine2016-04-031-1/+1
|
* add TestPanic and TestReadWrittenlukechampine2016-04-031-0/+22
| | | | 100% test coverage!
* add TestSelect and TestComposelukechampine2016-04-031-4/+58
|
* more idiomatic BenchmarkIncrementSTMlukechampine2016-04-021-2/+3
|
* add TestVerifylukechampine2016-04-021-0/+35
|
* replace RWMutex benchmarks with channel benchmarkslukechampine2016-03-311-15/+10
|
* add TestRetrylukechampine2016-03-301-0/+28
|
* add basic tests and benchmarkslukechampine2016-03-301-0/+186