Skip to content
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

v5 first request is ~10x slower than v4 #623

Open
grosser opened this issue Nov 21, 2023 · 0 comments
Open

v5 first request is ~10x slower than v4 #623

grosser opened this issue Nov 21, 2023 · 0 comments

Comments

@grosser
Copy link
Contributor

grosser commented Nov 21, 2023

Problem: the first request of a new client is somehow 10x slower on v5 (100ms vs 10ms)

Background: I was trying to upgrade our app to v5 (master) to get gzip to resolve #622

c = build_kubeclient(@url, 'api/v1')
Benchmark.realtime { c.get_entity("namespaces", "kube-system") }
master: 0.017
v5: 0.10

since I'm using get_entity I don't think the issue is extra requests, but something is going on ...

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

No branches or pull requests

1 participant