Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

[Perf] High Allocator MemoryPoolIterator2.GetString #291

Closed
benaadams opened this issue Oct 25, 2015 · 1 comment
Closed

[Perf] High Allocator MemoryPoolIterator2.GetString #291

benaadams opened this issue Oct 25, 2015 · 1 comment

Comments

@benaadams
Copy link
Contributor

Drill down on Issue #288
Measurements post PR #287

Item 1 on highest allocators in plaintext test

most-memory

Allocations (2003 requests)

alloc

Bytes (2003 requests)

bytes

Also the HTTP portion of the request is ASCII bytes rather than UTF8 or other encoding https://tools.ietf.org/html/rfc7230#section-3.2.4

Note: Path can be decoded to utf8 before being converted to string so may be utf8

@benaadams benaadams changed the title [Perf] High Allocator MemoryPoolIterator.GetString [Perf] High Allocator MemoryPoolIterator2.GetString Oct 25, 2015
@benaadams
Copy link
Contributor Author

Reduced some; and ascii headers in #312 "Reduce GetString allocs and conversions"

Lazy string creation is possible as extension, but would get, unusual

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant