Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
04137f7
Benchmarks moved out of https://github.com/PolymerLabs/tachometer
aomarks Apr 15, 2019
48a9abf
Fix npmignore
aomarks Apr 16, 2019
0a79f9f
Remove misc benchmarks we aren't using for now
aomarks Apr 18, 2019
7219424
Change package name for lit-html sub-package
aomarks Apr 18, 2019
c521e77
Remove private tag
aomarks Apr 18, 2019
e5b7405
Temporarily add an extra lit-html directory layer.
aomarks Apr 18, 2019
fb033d5
Move npmignore
aomarks Apr 18, 2019
1414301
Fork lit-html shack for lit-element version
aomarks May 1, 2019
d74f6dd
Add .clang-format and reformat
aomarks May 1, 2019
b98297b
Remove bench code for now
aomarks May 1, 2019
00a887d
Add list-item element
aomarks May 1, 2019
12ac0bc
Fix package.json
aomarks May 1, 2019
28e2e0e
Rename shack grid to list for consistency
aomarks May 1, 2019
1adcfba
Clone lit-element shack for polymer version
aomarks May 1, 2019
dca1acd
Add lit-element package-lock
aomarks May 1, 2019
cd90fd6
Polymer shack working, but uses lit
aomarks May 1, 2019
a4e61fb
Polymer ShackCart element
aomarks May 1, 2019
1b8f934
Rename Polymer list-item to shack-item
aomarks May 1, 2019
19f023a
Rename lit-element list-item to shack-item
aomarks May 1, 2019
3d6fe54
Add lit-element shack-cart
aomarks May 1, 2019
e1926b1
Add Polymer shack-app element
aomarks May 1, 2019
3838c4c
Remove lit-html as polymer shack dependency
aomarks May 1, 2019
04484c8
Add lit-element shack-app
aomarks May 1, 2019
1a8af91
refactor lit-html app into app/cart/item modules
aomarks May 2, 2019
ac64376
If we're doing a micro benchmark, wait 100ms before rendering.
aomarks May 2, 2019
e279d77
only nobench for lit-html for now
aomarks May 2, 2019
73d1be5
Add js-framework-benchmark benchmarks for lit-html
aomarks May 3, 2019
2731794
Merge pull request #2 from PolymerLabs/jsfb
justinfagnani May 3, 2019
122a21e
Merge pull request #1 from PolymerLabs/lit-element-shack
aomarks May 3, 2019
2fcb00b
Remove now unneccessary implementation directory layer
aomarks May 8, 2019
a5f29de
Prepare to release lit-html-benchmarks 0.2.0
aomarks May 8, 2019
ba66180
Merge pull request #4 from PolymerLabs/flatten
aomarks May 8, 2019
85d9445
Bump tachometer version
aomarks Jun 7, 2019
1fdf98d
Add shack.json and README for comparing the 3 shack implementation
aomarks Jun 7, 2019
188a4eb
Convert JSON to module, add callback mode to lit-element and polymer …
aomarks Jun 7, 2019
9004e2a
Include customElement.define cost in LitElement and Polymer benchmarks.
aomarks Jun 8, 2019
7993a2f
Add full package.json for lit-element-benchmarks
aomarks Jun 8, 2019
48a5e49
Bump dependencies
aomarks Jun 8, 2019
70abe9c
Remove unneeded file
aomarks Jun 8, 2019
fa0fff0
Rename bench command to tach and document in README.
aomarks Jun 8, 2019
d4bcb02
Bump tachometer version and recommend npx tachometer
aomarks Jun 8, 2019
b390e17
Merge pull request #6 from PolymerLabs/shackattack
aomarks Jun 8, 2019
3dd66a4
Bump lit-html-benchmarks version
aomarks Jun 10, 2019
f073f09
Bump deps, auto install sub-package deps, some cleanup. (#9)
aomarks Dec 19, 2019
ec9b20d
Update tachometer and chromedriver.
bicknellr Jul 22, 2021
506c45f
Fix benchmark labels.
bicknellr Jul 23, 2021
9cccef8
Checkout benchmarks repo separately.
bicknellr Jul 23, 2021
c2a29d1
Install tachometer manually.
bicknellr Jul 23, 2021
8ce0f51
Remove `working-directory` keyword from reporter action.
bicknellr Jul 23, 2021
737c931
Install latest tachometer version.
bicknellr Jul 23, 2021
23d29d5
Fix working directory.
bicknellr Jul 23, 2021
aa17032
Install chromedriver at 91 (current GitHub actions Chrome version).
bicknellr Jul 23, 2021
993343b
Update LitElement to v2.
bicknellr Jul 23, 2021
825b8d7
Uninstall `lit-element-benchmarks`, `tachometer`, and `chromedriver`.
bicknellr Jul 23, 2021
c1829d4
Remove everything except `/lit-element/`.
bicknellr Jul 26, 2021
7bf683c
`/lit-element/` -> `/benchmarks/`
bicknellr Jul 26, 2021
3d3bf49
Merge LitElement benchmarks from Polymer/benchmarks repo.
bicknellr Jul 26, 2021
4c8637b
Update benchmarks `package.json`.
bicknellr Jul 26, 2021
1a45b00
Update benchmarks workflow and config to run within the new benchmark…
bicknellr Jul 26, 2021
3a6b1e8
Run `npm ci` in benchmarks package and cache if possible.
bicknellr Jul 26, 2021
8d9bd31
Use the local repo for checking out `master` also.
bicknellr Jul 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 17 additions & 12 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,40 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: 14

- name: Restore node_modules
- uses: actions/checkout@v2

# By default, the actions/checkout@v2 only retrieves the one commit
# associated with the pull request. The benchmarks test against the
# `master` branch also, so we explicitly retrieve it here.
- name: Fetch additional refs
run: git fetch --no-tags --depth=1 origin master

- name: Restore benchmarks/node_modules
id: cache
uses: actions/cache@v2
with:
path: node_modules
# Bump the number after `lit-element-1.x-node-modules` to force a
# cache update. Note there are multiple cache actions in `tests.yml`
# that should all keep keys in sync.
key: lit-element-1.x-node-modules-0-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
path: benchmarks/node_modules
# Bump the number after `lit-element-2.x-benchmarks-node-modules` to
# force a cache update. Note there are cache actions in other jobs in
# this file that should all keep keys in sync.
key: lit-element-2.x-benchmarks-node-modules-0-${{ runner.os }}-${{ hashFiles('benchmarks/package-lock.json') }}

- name: NPM install
if: steps.cache.outputs.cache-hit != 'true'
working-directory: ./benchmarks
run: npm ci

- name: Build
run: npm run build

- name: Benchmark
working-directory: ./benchmarks
run: npx tach --config tachometer.json --json-file results.json

- name: Report
uses: andrewiggins/tachometer-reporter-action@v2
with:
path: results.json
path: ./benchmarks/results.json
pr-bench-name: this-change
base-bench-name: master
1 change: 1 addition & 0 deletions benchmarks/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
Loading