ENH: Add PDB reader benchmark to track parsing performance#5394
Conversation
Documentation build overview
14 files changed ·
|
Codecov Report✅ All modified and coverable lines are covered by tests.
Additional details and impacted files@@ Coverage Diff @@
## develop #5394 +/- ##
===========================================
- Coverage 93.85% 86.13% -7.72%
===========================================
Files 182 182
Lines 22509 22509
Branches 3202 3202
===========================================
- Hits 21125 19388 -1737
- Misses 922 2668 +1746
+ Partials 462 453 -9 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
9e4268c to
3ad9ac3
Compare
|
I believe all these tests that are failing are due to something messed up in develop, I will try to trace the root cause and will report on discord about this |
|
The CI failures are being addressed in other PRs. Apart from PR #5404 all quick-fix PRs are merged. You can pull the current develop branch and merge it into your add-pdb-benchmark. Can you please locally run the trajectory benchmarks and paste the output so that I can see that the new PDB one is running with everything else? |
orbeckst
left a comment
There was a problem hiding this comment.
Changes look good.
Can you please locally run the trajectory benchmarks and paste the output so that I can see that the new PDB one is running with everything else?
fd6f6e8 to
46e2eb7
Compare
· Discovering benchmarks
· Running 2 total benchmarks (1 commits * 1 environments * 2 benchmarks)
[ 0.00%] ·· Benchmarking existing-py_usr_local_bin_python3
[25.00%] ··· traj_reader.TrajReaderCreation.time_reads ok
[25.00%] ··· ============= ==========
traj_format
------------- ----------
XTC 4.09±0ms
TRR 13.4±0ms
DCD 1.64±0ms
NCDF 5.69±0ms
TRC 3.55±0ms
PDB 6.70±0ms
============= ==========
[50.00%] ··· traj_reader.TrajReaderIteration.time_strides ok
[50.00%] ··· ============= ==========
traj_format
------------- ----------
XTC 8.07±0ms
TRR 56.9±0ms
DCD 4.01±0ms
NCDF 1.80±0ms
TRC 3.46±0ms
PDB 5.40±0ms
============= ==========
|
orbeckst
left a comment
There was a problem hiding this comment.
LGTM, thank you for the new benchmarks!
Thanks!, also I have started to work on another benchmark, maybe XYZ format |

Changes made in this Pull Request:
PDBReaderBenchclass tobenchmarks/benchmarks/traj_reader.py.LLM / AI generated code disclosure
LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no
PR Checklist
package/CHANGELOGfile updated?package/AUTHORS? (If it is not, add it!)Developers Certificate of Origin
I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.