Aaron O'Mullan

Results 25 issues of Aaron O'Mullan

A PoC demonstrating the feasibility of a sidecar binary to produce snapshots when cross-compiling

Marginally faster than using v8::External due to embedder pointer indirection

WIP, lots of mismatches, some fixes ...

Feature detect against `document` instead of `window` to avoid false positives in environments like Deno that define a `window` global but no `document`

Avoid calloc overhead of initializing buffer we'll write into, improving `decode_small_input/decode/3` by -33% Unfortunately requires unsafe Vec::set_len so we can get a mutable ref to the uninit portion of the...

Improves throughput by 10-20% We avoid zeroing the allocated vec since we'll write into it and we don't need to check utf8 when building the String since all alphabets emit...

Since that allows us to store data in the isolate without going through the Annex (less efficient) especially when in practice the cardinality is small (i.e: 2 in deno_core)

Cross posting this from https://github.com/faisalman/ua-parser-js/issues/401 (I know this SDK uses your own fork, but issues are disabled on your fork): > A big chunk of Amplitude's initialization time is spent...

enhancement

A 1st pass at improving non-SIMD perf, to land after https://github.com/seanmonstar/httparse/pull/122 On aarch64/M1 we observe a ~5x asymptotic improvement in uri parsing and ~2.5x in header names & values. We...

To provide better baselines for perf work, etc... It unfortunately requires exposing a few functions as public, though they are hidden from the docs and re-exported under a `_benchable` mod...