opened
stuhood
username_0
The rust `parking_lot` crate purports to provide lower-overhead `Mutex` and `RwLock` implementations which do not need to allocate. Because we use a very large count of `future::Shared` futures (~900k in some cases), I made a very minor edit to `Shared` to see whether the use of `parking_lot` would result in memory usage improvements.

It did not.
```
parking_lot:
    real  6m38.419s
    user  5m31.475s
    sys   3m36.183s
    mem   4362492 bytes
    
    real  6m29.422s
    user  5m28.677s
    sys   3m45.821s
    mem   4645964 bytes

    real  6m40.307s
    user  5m36.286s
    sys   3m57.143s
    mem   4588104 bytes

master:
    
    real  7m30.641s
    user  5m38.736s
    sys   4m7.220s
    mem   4121356 bytes

    real  6m9.298s
    user  5m14.206s
    sys   3m27.104s
    mem   4400724 bytes

    real  6m11.764s
    user  5m10.557s
    sys   3m28.231s
    mem   4496320 bytes
```
Experiment with rust parking_lot mutexes
issue
closed
stuhood
username_0
issue