-
Notifications
You must be signed in to change notification settings - Fork 12
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
export profile data #142
base: main
Are you sure you want to change the base?
export profile data #142
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
📢 Thoughts on this report? Let us know!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @d-monnet ! Thank you for the PR.
Connected to #140 (comment) do you think we would also need such function in BenchmarkProfiles.jl ?
Could you also think about some unit tests for this new functionality?
I'm not sure a .csv export function would be needed in BenchmarkProfiles.jl which is to me too low level for the generic user, but it would require almost zero work since it would be pretty much a copy of what's in
Sure, I'll add the tests. Is it possible to create a file and load it through githut actions though ? |
Ok, so let's do it in BenchmarkProfiles.jl first then, if that's ok for you. I see it is possible for the file. I could imagine the following process: call the function, test that the file exists, and remove the file. |
Here is the PR for csv export in BenchmarkProfiles.jl: JuliaSmoothOptimizers/BenchmarkProfiles.jl#95 |
add export function test
correct kwargs passing
Hi @d-monnet , let me know when I can review this. Do you need a new release of BenchmarkProfiles.jl for this? |
Sure, still working on it but it should be done (tests included ;) ) by the end of the week. |
There is a BenchmarkProfile.jl 0.4.4 with the new feature. |
The new release of |
Hi @tmigot, the PR is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @d-monnet ! thank you for the PR (and sorry for the late review). It looks good overall, just some minor things about the documentation. We should also try to unify the punctuation on bullet list.
I will try to investigate why the tests are not passing for the documentation and julia 1.6.
I think the failed doc is unrelated to this. |
Co-authored-by: tmigot <[email protected]>
Co-authored-by: tmigot <[email protected]>
Co-authored-by: tmigot <[email protected]>
Co-authored-by: tmigot <[email protected]>
Ok, so we will have to investigate further to see what is the problem with Julia 1.6... Otherwise it is good for me. Thank you! |
Based on that branch I have developed a function to export the profile figures as tikz, which I prefer to include in my papers rather than the .png exported by |
Would that involve additional packages? |
No, the whole figure source code is "hand made" from profiles plots points. |
Ok, so why not. Maybe we do the same and add it to BenchmarkProfiles first ? |
Here is the PR: JuliaSmoothOptimizers/BenchmarkProfiles.jl#104 |
No description provided.