Skip to content

[PERFORMANCE] Use static TypeToken for complex CQL types#456

Merged
chibenwa merged 2 commits intoapache:masterfrom
chibenwa:type-tokens
May 24, 2021
Merged

[PERFORMANCE] Use static TypeToken for complex CQL types#456
chibenwa merged 2 commits intoapache:masterfrom
chibenwa:type-tokens

Conversation

@chibenwa
Copy link
Copy Markdown
Contributor

There computing take up to 1,3% of CPU time, doing reflection
over and over again to build them.

See the following flame graphs:

Screenshot from 2021-05-23 23-39-48

Screenshot from 2021-05-23 23-38-00

There computing take up to 1,3% of CPU time, doing reflection
over and over again to build them.
@chibenwa chibenwa self-assigned this May 23, 2021
For Row types they are already known, and their lookup takes
and additional 0.5% of CPU.
@chibenwa chibenwa merged commit 8918482 into apache:master May 24, 2021
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.

2 participants