Open rwjblue opened 7 years ago
Pairing @rondale-sc, we're proposing to add folders for HAR files called archives
both in the root folder and also in each of the individual config folders. So the structure will look like this:
.
├── archives
│ └── archive.har
├── config
│ ├── v2.3.4
│ │ ├── archives
│ │ │ └── archive.har
│ │ ├── dist
│ │ └── index.js
│ └── v2.4.0
│ ├── dist
│ └── index.js
├── index.js
└── package.json
@iezer - I think that works well, I'll update the outline above.
In order to allow both iteration in
chrome-tracing
andember-macro-benchmarks
we need to remove the requirement togit clone
the repo (and work in that cloned copy).After discussing with both @krisselden and @rondale-sc, I think it would be great if we could instead have this package follow the footsteps of
ember-cli
(during its migration fromember-app-kit
toember-cli
). This would mean (at a high level):I have created an example project that uses the new structure (completely non-functional obviously) which may help visualize things at rwjblue/macro-benchmark-example-project.
The basic structure being proposed is:
Where the top level
index.js
has the following:And the per-config level
index.js
's have the following:Below are the general steps that @rondale-sc and I came up with during a brainstorming session:
ember new my-benchmark -b macro-benchmark
(possibly usingblprnt
instead ofember-cli
)my-benchmark
index.js
macro-benchmark add-config <commit-ish>
bechmark-project-root/<commit-ish>/dist
.index.js
with the following entries:ember-macro-benchmarks
internal implementations for the following commands:macro-benchmark server
macro-benchmark bench
macro-benchmark report
macro-bencmark plot