Commit Graph

13 Commits

Author SHA1 Message Date
Ivan Kopeykin 19f5cd879e (#10326) resolve discussions 2020-02-05 13:19:10 +03:00
Ivan Kopeykin 3cd865d7ab refactor(BinaryMiddleware): 2020-01-31 16:52:57 +03:00
Tobias Koppers b40a345451 refactor Persistent Cache
cache is split into multiple .pack files which represent usage of cache items
this allows to only read/deserialize files that are needed
and reduces the need to rewrite .pack files
while still packaging multiple cache items together

lazy (de)serialization system has changed to allow writeLazy and writeSeparate
2020-01-28 11:35:06 +01:00
Tobias Koppers 6eb9958643 print warning for large serialized strings 2019-11-10 21:04:54 +01:00
Tobias Koppers d8c93b40be faster serialization for deserialized data 2019-11-04 10:46:33 +01:00
Tobias Koppers 563f8635b6 performance and memory improvement of BinaryMiddleware 2019-08-13 17:02:57 +02:00
Tobias Koppers ad6e095c43 Improve typings of SerializerMiddlewares 2019-01-24 16:51:05 +01:00
Tobias Koppers 3a1eefec0a Measure size of objects to decide about inline or lazy storing 2019-01-24 15:14:41 +01:00
Tobias Koppers aa72c93b4d Use Buffer.allocUnsafe for better performance and buffer pooling 2019-01-24 15:14:39 +01:00
Tobias Koppers d9238f061d memorize lazy data on access
remove need for read on write
add queue for file accesses in FileMiddleware to support concurrent access
2018-12-21 12:05:29 +01:00
Tobias Koppers 4b69df1117 allow to make classes not-serializable
make ContextModule not-serializable because it's not needed
2018-10-18 15:52:22 +02:00
Tobias Koppers 2cfbea35bc fix bug with too long short strings 2018-10-17 21:25:41 +02:00
Tobias Koppers a852828279 add persistent caching prototype 2018-10-17 21:25:39 +02:00