Title: High CPU Consumption · Issue #25 · IABTechLab/iabgpp-java · GitHub
Open Graph Title: High CPU Consumption · Issue #25 · IABTechLab/iabgpp-java
X Title: High CPU Consumption · Issue #25 · IABTechLab/iabgpp-java
Description: Hi @chuff (maybe)? We've started using the GPP library in our live environment to get a better idea of how it performs etc., and to ensure it works. While we're not receiving many GPP strings, we are receiving TcfEuV2/TCF2/GDPR strings i...
Open Graph Description: Hi @chuff (maybe)? We've started using the GPP library in our live environment to get a better idea of how it performs etc., and to ensure it works. While we're not receiving many GPP strings, we a...
X Description: Hi @chuff (maybe)? We've started using the GPP library in our live environment to get a better idea of how it performs etc., and to ensure it works. While we're not receiving many GPP strin...
Opengraph URL: https://github.com/IABTechLab/iabgpp-java/issues/25
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"High CPU Consumption","articleBody":"Hi @chuff (maybe)?\r\n\r\nWe've started using the GPP library in our live environment to get a better idea of how it performs etc., and to ensure it works. While we're not receiving many GPP strings, we are receiving TcfEuV2/TCF2/GDPR strings in large volume. On our servers, we've noticed that CPU consumption for handling a TcfEuV2 (GDPR IAB TCF V2) string processing through the TcfEuV2 model eats up around 8% CPU, while the same strings processing through the older IAB TCF TCString library only consumes around 0.8% CPU.\r\n\r\nLooking at the TcfEuV2 model, I see that the entire string is decoded upon creation rather than lazy decoding only the segments that are relevant/used. Would it be feasible to update the decryption/parsing/processing methodology to be lazy?\r\n\r\nFor performance stats, I used [this tool](https://github.com/jvm-profiling-tools/async-profiler)","author":{"url":"https://github.com/ym-corey","@type":"Person","name":"ym-corey"},"datePublished":"2023-02-23T19:33:14Z","url":"https://github.com/IABTechLab/iabgpp-java/issues/25"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d0ca7a19-d71a-e1f6-78fa-a82222d17b8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C886:45D31:198D5:2242B:6AF656E6 |
| html-safe-nonce | 0e88fad63868358d281e00d38cbcbc2a7aa3e401b46d6752ecf8fba587daeb8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODg2OjQ1RDMxOjE5OEQ1OjIyNDJCOjZBRjY1NkU2IiwidmlzaXRvcl9pZCI6Ijc3MTE2NDQyNzYwMzAzMzA1OTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84dc2baf95b3c83efe37d4c526039452a960ad52e5d6fd5456831d667d47fe2e |
| hovercard-subject-tag | issue:1597416929 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IABTechLab/iabgpp-java/25/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a617dce2d82d90e410b55de3287e1e89e0027f606eca051edce64b569dce708d/IABTechLab/iabgpp-java/issues/25 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a617dce2d82d90e410b55de3287e1e89e0027f606eca051edce64b569dce708d/IABTechLab/iabgpp-java/issues/25 |
| og:image:alt | Hi @chuff (maybe)? We've started using the GPP library in our live environment to get a better idea of how it performs etc., and to ensure it works. While we're not receiving many GPP strings, we a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ym-corey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a56376a9aedf203b9246bd5a35c079a2d8dc550b8e919fd3fb8ba2459549968 |
| turbo-cache-control | no-preview |
| go-import | github.com/IABTechLab/iabgpp-java git https://github.com/IABTechLab/iabgpp-java.git |
| octolytics-dimension-user_id | 82903538 |
| octolytics-dimension-user_login | IABTechLab |
| octolytics-dimension-repository_id | 538620496 |
| octolytics-dimension-repository_nwo | IABTechLab/iabgpp-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 538620496 |
| octolytics-dimension-repository_network_root_nwo | IABTechLab/iabgpp-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9d854359ca37d25bd2e1a0bab2033d3ce9db6792 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width