-
Notifications
You must be signed in to change notification settings - Fork 175
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
OpenAPI Hub diffing tools take too long #3110
Comments
Thanks, @heaths, We know the diff tool has some performance issue sometime due to github api threshold , but 20+min is too long, can you share us the 2 URL you are testing for us triage? |
It work fine now. I just tested it and it took about 5 mins. Could you please try again? |
Even that seems too long. Devs can diff 3GB+ repos in under a second. I get more processing for a semantic diff is necessary, but how is this taking minutes as opposed to seconds? I've heard from a few people that they often hit refresh several times before giving up using the tool. |
@jianyexi to try whether there is other space to improve performance in tooling service |
Since it's perf issue about the oad, create an issue Azure/openapi-diff#227 to track |
When using https://portal.azure-devex-tools.com/tools/diff that I have to nearly every day for diffing changes across different release branches in Azure/azure-rest-api-specs, the diffing takes too long and I have to shift focus away for significant time. Even for a small swagger of ~6 models and no endpoints, it can take 20 minutes or more. Across numerous PRs and multiple files in each, this takes up a significant portion of my day.
I'm using 2 URLs to raw swagger JSON files because I need to diff two separate files (different api-versions) across branches, one of which isn't always main. Using the readme.md from those branches doesn't seem to offer any benefit since I know exactly what files I want to review, and want to see the changes between them separate since, in this case, specification/cognitiveservices/data-plane/Language isn't a true RP and different api-versions may ship different swaggers.
Could the diffing be sped up somehow? I wouldn't expect that building a graph of nodes for endpoints, models, parameters, etc. and diffing them would take 20+ minutes.
The text was updated successfully, but these errors were encountered: