thortiede / sbml4j

Load SBML Files and persist them in Neo4j
MIT License
2 stars 2 forks source link

setSource method uses 25 % of runtime #47

Closed thortiede closed 3 years ago

thortiede commented 5 years ago

The setSource method in WarehouseGraphService issues n queries for finding a neighbour of a node that is n layers away from the pathway. This seems to use 25 % of application runtime.

The result of this method so far is only used to send the source and sourceVersion attributes of the database node to the caller. Currently we only load only one database for testing, multi-source scenarios are not yet applicable.

thortiede commented 5 years ago

Uncomment any call to the method to speed up things for now.

Revisit this once multiple sources are being used in the same db.

thortiede commented 3 years ago

After the refactoring this year, this method is not available any more. Thus I am closing this issue.