Title: Close JsonWriters. Caused speed up? · Issue #149 · hap-java/HAP-Java · GitHub
Open Graph Title: Close JsonWriters. Caused speed up? · Issue #149 · hap-java/HAP-Java
X Title: Close JsonWriters. Caused speed up? · Issue #149 · hap-java/HAP-Java
Description: see: [#148] I use hap-java for my entire house. Everything is KNX, so pretty much accessories. Sometimes the accessories turn red and says "device not responding" (or something like that, get it in dutch). Also sometimes it takes a while...
Open Graph Description: see: [#148] I use hap-java for my entire house. Everything is KNX, so pretty much accessories. Sometimes the accessories turn red and says "device not responding" (or something like that, get it in...
X Description: see: [#148] I use hap-java for my entire house. Everything is KNX, so pretty much accessories. Sometimes the accessories turn red and says "device not responding" (or something like that,...
Opengraph URL: https://github.com/hap-java/HAP-Java/issues/149
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Close JsonWriters. Caused speed up?","articleBody":"see:\r\n[#148] \r\n\r\nI use hap-java for my entire house. Everything is KNX, so pretty much accessories. Sometimes the accessories turn red and says \"device not responding\" (or something like that, get it in dutch). Also sometimes it takes a while, which makes no sense, because I cache all KNX values. I use a version with another pr request in it [#130]. Also I updated all dependencies in my local build of HAP-Java. No \"device not responding\" anymore and seems to react a lot faster.\r\n\r\nSo I'm not sure if closing JsonWriters did the trick. It can't hurt also. And in the close() operation of JsonWriter you see a flush. ByteArrayBuffer was closed, but that doesn't do anything. \r\n\r\nI stole this idea from pr [#116]. That pr fixed it on one occurrence, but I found 3 more, by searching on usages of createWriter().","author":{"url":"https://github.com/gjvanderheiden","@type":"Person","name":"gjvanderheiden"},"datePublished":"2021-11-18T10:27:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/149/HAP-Java/issues/149"}
| 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:829963b6-dd46-6d13-5949-98768be5e38f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA84:2EA41:DE40EC:1202DFE:697515A3 |
| html-safe-nonce | 7057078c139eca53118d3b56af4e690be18c18feaf21d72b4a2d031e392e86d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTg0OjJFQTQxOkRFNDBFQzoxMjAyREZFOjY5NzUxNUEzIiwidmlzaXRvcl9pZCI6IjgxMDc4ODI2NzI5NDU0MzYwNjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4a50f37780798798c0bd4f04b3cb7c03e1f078c59ab63d3bbab8abdc03d60960 |
| hovercard-subject-tag | issue:1057186859 |
| 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/hap-java/HAP-Java/149/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b517380b5af3b4c5c17f65a73f7b766dd9ab214a17d6b14e6440fa2b5c4774f0/hap-java/HAP-Java/issues/149 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b517380b5af3b4c5c17f65a73f7b766dd9ab214a17d6b14e6440fa2b5c4774f0/hap-java/HAP-Java/issues/149 |
| og:image:alt | see: [#148] I use hap-java for my entire house. Everything is KNX, so pretty much accessories. Sometimes the accessories turn red and says "device not responding" (or something like that, get it in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gjvanderheiden |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/hap-java/HAP-Java git https://github.com/hap-java/HAP-Java.git |
| octolytics-dimension-user_id | 47992845 |
| octolytics-dimension-user_login | hap-java |
| octolytics-dimension-repository_id | 31193475 |
| octolytics-dimension-repository_nwo | hap-java/HAP-Java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31193475 |
| octolytics-dimension-repository_network_root_nwo | hap-java/HAP-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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width