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

Optionally display a flag saying the file came from a proxy cache #39

Open
twarit-waikar opened this issue Jul 6, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@twarit-waikar
Copy link
Contributor

twarit-waikar commented Jul 6, 2022

When using p4-fusion with a Perforce proxy server, it is sometimes beneficial for performance debugging purposes to know the proxy cache hit/miss rate while downloading files through p4 print

This is usually done by adding a -Zproxyverbose tag in the p4 CLI:

p4 -Zproxyverbose sync

We can specify the same tag when we create the P4API contexts.

m_ClientAPI.SetProtocol("tag", "");

And then we should be able to log that information through p4-fusion, either simply to stdout or add it in the commit message

@twarit-waikar twarit-waikar added the enhancement New feature or request label Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant