Skip to content
This repository has been archived by the owner on Oct 3, 2018. It is now read-only.

DB cleanup in preparation of e10s support #80

Merged
merged 9 commits into from
Mar 26, 2015

Conversation

EricRahm
Copy link
Contributor

This adds further DB normalization (process table, checkpoint table), removes the metadata column, adds columns for process, checkpoint, iteration and kind.

create_graph_json.py is updated to handled the new DB format, but still only generates data for the main process.

@Nephyrin can you take a look?

- Breaks out metadata into it's own columns/tables
- Stores value type and kind in data table
- Adds process name to data table
- Always report kind and unit
- Don't convert to strings, just report the integer value
Removes intermediate conversion step.
- Process and checkpoint names are properly inserted
- All new columns in benchtester_data are filled
Uses new DB fields. Currently only handles the Main process and ignores
the 'kind' field.
@EricRahm
Copy link
Contributor Author

I checked to make sure we're not exploding the db size, this seems to have reduced the size for the single process case, slightly increased for the multiprocess case (which makes sense as there's more data).

DB type Builds Size
master 4 @ 100 sites, 5 iterations 138M
new, w/o e10s 4 @ 100 sites, 5 iterations 124M
new, e10s 4 @ 100 sites, 5 iterations 151M

Also it looks like total insert time of test data into the DB increased from ~550ms to ~800ms.

Based on the original update_database.py script.
@EricRahm
Copy link
Contributor Author

Added the update script. If things scale it looks like it will take ~4s per test, so something like 80 minutes for the month of January.

@nnethercote
Copy link

r+ from me, not that I had much to add.

EricRahm added a commit that referenced this pull request Mar 26, 2015
DB cleanup in preparation of e10s support
@EricRahm EricRahm merged commit ae88a34 into mozilla:e10s Mar 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants