Skip to content

lazy cf property parsing#1023

Merged
mikea merged 1 commit intomainfrom
maizatskyi/2023-08-15-lazy-cf-parsing
Aug 23, 2023
Merged

lazy cf property parsing#1023
mikea merged 1 commit intomainfrom
maizatskyi/2023-08-15-lazy-cf-parsing

Conversation

@mikea
Copy link
Contributor

@mikea mikea commented Aug 16, 2023

Extracted all logic to handle the value to a separate class.

Most customers don't need this. Shaves off 6-10ns (10%) on hello world :)

lazy cf parsing:

iteration_duration.............: avg=76.65µs min=52.06µs med=65.46µs max=25.35ms p(90)=91.45µs p(95)=108.09µs

main:

iteration_duration.............: avg=87.73µs min=58.69µs med=74.47µs max=20.27ms p(90)=107.58µs p(95)=120.31µs

@mikea mikea requested review from Warfields, fhanau and jasnell August 16, 2023 17:03
@mikea mikea force-pushed the maizatskyi/2023-08-15-lazy-cf-parsing branch 2 times, most recently from 47a296e to 9e8861c Compare August 16, 2023 17:17
@mikea
Copy link
Contributor Author

mikea commented Aug 16, 2023

downstream PR 5982

@mikea mikea force-pushed the maizatskyi/2023-08-15-lazy-cf-parsing branch from f689c8e to cc0a450 Compare August 16, 2023 18:32
@mikea mikea requested a review from jasnell August 17, 2023 15:34
@mikea mikea force-pushed the maizatskyi/2023-08-15-lazy-cf-parsing branch from cc0a450 to 8e67e9a Compare August 23, 2023 15:43
@mikea mikea merged commit 1dcb10d into main Aug 23, 2023
@mikea mikea deleted the maizatskyi/2023-08-15-lazy-cf-parsing branch August 23, 2023 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants