Skip to content

Upgrading to mmtf 1.0.5 - #646

Merged
altaite merged 8 commits into
biojava:masterfrom
josemduarte:mmtf105
Mar 29, 2017
Merged

altaite merged 8 commits into
biojava:masterfrom
josemduarte:mmtf105

Conversation

@josemduarte

Copy link
Copy Markdown
Contributor

Should bring faster parsing for mmtf, thanks @altaite

@andreasprlic andreasprlic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@andreasprlic

Copy link
Copy Markdown
Member

Just to comment, this is a significant performance improvement: PDB ID 4CUP via mmtf used to parse in ~ 900ms. Now we are down to <200ms. Almost twice as fast as parsing from PDB file format!

@andreasprlic

Copy link
Copy Markdown
Member

actually, I realized the performance test included IO. I'll do another comparison that will exclude any contributions from IO in parsing.

adding a parsing performance unit test for mmtf, ...
@altaite

altaite commented Mar 29, 2017 via email

Copy link
Copy Markdown
Contributor

@altaite
altaite merged commit 043a74e into biojava:master Mar 29, 2017
@andreasprlic

Copy link
Copy Markdown
Member

just a comment on performance. For a mid-size PDB entry like 3HBX on my laptop mmtf parses in 50 ms vs pdb in ~100 ms. this is from ram (cutting out any influence from slow drives)

@andreasprlic

Copy link
Copy Markdown
Member

... and that was not using the latest code (thanks due to IDE caching). Forcing everything to the latest 1.0.5 of mmtf, which does not use Jackson any longer, the latest numbers are:

PDB ID method average load time (100 repetitions) size of structure
4CUP mmtf 5 ms. small
4CUP pdb 20 ms. small
3HBX mmtf 14 ms. mid size
3HBX pdb 48 ms. mid size

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

Successfully merging this pull request may close these issues.

3 participants