Write gallery execution times to JSON#1448
Write gallery execution times to JSON#1448user27182 wants to merge 2 commits intosphinx-gallery:masterfrom
Conversation
|
Build times should already be in https://sphinx-gallery.github.io/stable/configuration.html#junit-xml I think? |
Didn't know that! Thanks, will look into using that first |
|
Yup test times are all there. |
|
PR welcome to improve discovery / docs though! |
|
Thanks, I guess it would be helpful to add a cross-reference between these two options: And in |
The gallery executions times are great, but they currently only generate rst versions. This is great for html rendering, but is not great if you want to parse the execution times (e.g. for testing purposes to limit build times).
This PR re-works the
write_computation_timesfunction to also generate JSON versions.