- 02 5月, 2019 4 次提交
-
-
由 Ryan Dahl 提交于
-
由 andy finch 提交于
-
由 Bert Belder 提交于
* In order to prevent ArrayBuffers from getting garbage collected by V8, we used to store a v8::Persistent<ArrayBuffer> in a map. This patch introduces a custom ArrayBuffer allocator which doesn't use Persistent handles, but instead stores a pointer to the actual ArrayBuffer data alongside with a reference count. Since creating Persistent handles has quite a bit of overhead, this change significantly increases performance. Various HTTP server benchmarks report about 5-10% more requests per second than before. * Previously the Persistent handle that prevented garbage collection had to be released manually, and this wasn't always done, which was causing memory leaks. This has been resolved by introducing a new `PinnedBuf` type in both Rust and C++ that automatically re-enables garbage collection when it goes out of scope. * Zero-copy buffers are now correctly wrapped in an Option if there is a possibility that they're not present. This clears up a correctness issue where we were creating zero-length slices from a null pointer, which is against the rules.
-
由 Bert Belder 提交于
-
- 01 5月, 2019 6 次提交
-
-
由 Bartek Iwańczuk 提交于
-
-
由 andy finch 提交于
-
由 迷渡 提交于
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
- 30 4月, 2019 4 次提交
-
-
由 Ryan Dahl 提交于
-
由 Ryan Dahl 提交于
-
由 迷渡 提交于
-
由 Bartek Iwańczuk 提交于
-
- 29 4月, 2019 4 次提交
-
-
由 Kitson Kelly 提交于
Use `--config`
-
由 Ryan Dahl 提交于
-
由 迷渡 提交于
-
- 28 4月, 2019 5 次提交
-
-
由 Yusuke Sakurai 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Ryan Dahl 提交于
-
由 迷渡 提交于
-
由 Greg Altman 提交于
-
- 26 4月, 2019 5 次提交
-
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
由 Ryan Dahl 提交于
-
由 Bartek Iwańczuk 提交于
-
由 David Stone 提交于
-
- 25 4月, 2019 5 次提交
- 24 4月, 2019 3 次提交
-
-
由 Ryan Dahl 提交于
Op dispatch is now dynamically dispatched, so slightly less efficient. The immeasurable perf hit is a reasonable trade for the API simplicity that is gained here.
-
由 Ryan Dahl 提交于
-
由 Bert Belder 提交于
-
- 23 4月, 2019 1 次提交
-
-
由 Yingbo (Max) Wang 提交于
Fixes #2169
-
- 22 4月, 2019 3 次提交
-
-
由 Tomislav Fabeta 提交于
-
-
由 Ryan Dahl 提交于
Co-authored-by: NBartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: NLE GOFF Vincent <g_n_s@hotmail.fr>
-