Skip to content
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

WIP: Migration to ORM with ODB #179

Open
wants to merge 8 commits into
base: staging
Choose a base branch
from

Conversation

SantjagoCorkez
Copy link
Contributor

It's a sample implementation of the problematic code I've pointed to in #178
The ODB manual is here: https://www.codesynthesis.com/products/odb/doc/manual.xhtml

My measurements for console command test (which calls MarketMgr::SetBasePrice()):

16:56:35 M PROFILE: Old GetMaterialPrices() finished in 0.110 seconds
16:56:35 M PROFILE: New GetMaterialPrices() finished in 0.011 seconds

It's still a work-in-progress since there's still a lot to implement (database schema initialization, migrations and so on).

I didn't check if the cmake install properly installs the eve-db.so (which must be a shared library or the code will segfault) but the build and run from the project directory works.

@jdhirst
Copy link
Contributor

jdhirst commented Jan 28, 2022

@SantjagoCorkez Great work so far! I really like the direction this is going in 😄

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.

2 participants