-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to Get/Parse Valid JSON #239
Comments
@nahtnam it seems that I can view the response successfully except that it will cost a longer time. |
Ah I see, it takes about 25 seconds to load, and even then it is un-prettified. Is there any way to increase the performance? The API returns within 300ms so it should really only take a few seconds max right? |
@nahtnam the root cause of this question is that the |
@nahtnam after the update, it will take less than 10 seconds to load. I will keep improving the performance for rendering. |
Awesome, any idea when this feature will be released into the market? Really appreciate the work done here, this library is very useful! |
@nahtnam I would like to publish a new release together with other features and bug fixes in early September. |
Gotcha, awesome, thanks! |
Actually @Huachao The issue is still there. Please try with this API URL: https://apituner.ecbsn.com/apituner/v1/store/reward/list?channel=4 On my computer, it takes forever and eventually ends up freezing VS Code. Is it because the JSON is big and VS Code cannot handle it or is it because you are processing the JSON? |
I don't completely know how the whole system but could it be a possibility that |
@nahtnam the e2e latency for a user to view a complete response in the panel in my extension can be divided into three phases:
And in my test from my local machine, I can see the first phase costs only <1s, the second phase costs <8s, and the last rendering phase costs <15s. So can you calculate the duration for each phase to see which part costs the most? In my previous data, the bottleneck is from the third phase, not the second phase. And I will keep improving the performance of my extension in the second phase. And back to your question, why do we need a third party library like {"value": 1.0} After the deserialization and serialization process, the result will be {
"value": 1
} And the fraction part is lost. So we can't simply use this way although this is the fastest way in my perf test. So I have to use a prettify libray like |
@nahtnam I have improved the performance of the second phase ( |
@nahtnam you can try the latest version 0.21.0 to verify |
Steps to Reproduce:
test.http
file.It will get stuck and not show anything and eventually slow down the rest of vscode as well.
The text was updated successfully, but these errors were encountered: