Skip to content

Commit 9e7332c

Browse files
committed
chore(cli): fix recording env
1 parent a486c85 commit 9e7332c

File tree

2 files changed

+8
-56
lines changed

2 files changed

+8
-56
lines changed

README.md

+5-48
Original file line numberDiff line numberDiff line change
@@ -58,61 +58,18 @@ All inputs are **optional** except $WEBSITE_URL.
5858
| -------- | -------------------------- | ------- |
5959
| `issues` | The amount of issues found | |
6060

61-
## Benches
6261

63-
The hardware specs for results:
62+
## Performance
6463

65-
```sh
66-
----------------------
67-
linux ubuntu-latest
68-
2-core CPU
69-
7 GB of RAM memory
70-
14 GB of SSD disk space
71-
-----------------------
72-
```
73-
74-
### Benchmark Results
75-
76-
The results for crawling a website that is small - large.
77-
78-
#### crawl-speed
79-
80-
Test url: `https://a11ywatch.com`
81-
82-
25 pages
83-
84-
runs with 10 samples:
85-
86-
| | `libraries` |
87-
| :--------------------- | :--------------------- |
88-
| **`A11yWatch: crawl`** | `0.4 s` (✅ **1.00x**) |
89-
| **`Pa11y-CI: crawl`** | `45 s` (✅ **1.00x**) |
90-
| **`Axe: crawl`** | `N/A` (✅ **1.00x**) |
91-
92-
#### crawl-speed (Large Website)
93-
94-
Test url: `https://www.hbo.com`
95-
96-
7500 pages.
97-
98-
runs with 10 samples:
99-
100-
| | `libraries` |
101-
| :--------------------- | :------------------------ |
102-
| **`A11yWatch: crawl`** | `2.5 mins` (✅ **1.00x**) |
103-
| **`Pa11y-CI: crawl`** | `50+ hr` (✅ **1.00x**) |
104-
| **`Axe: crawl`** | `N/A` (✅ **1.00x**) |
105-
106-
### Benchmark Info
107-
108-
On a larger website A11yWatch action runs over 60x-10,000x+ faster depending on CPUs/hardware.
64+
On a larger website A11yWatch action runs over 60x-10,000x+ faster depending on CPUs/hardware. After the first installation you should have faster setup time between runs.
65+
You can expect to handle at least 1k pages per minute on a 2-core CPU 7 GB of RAM memory shared github action. If you enable `RECORD` the output time may increase a bit.
10966

11067
When `AI_DISABLED` is set to true the run for `A11yWatch` may increase.
11168

11269
## Common Issues
11370

114-
If you experience issues on your CI you may have to toggle the `UPGRADE` input to true in order to get the latest docker images.
115-
We need docker in order to build the appliciation in quickly since we have some services that need to compile that may take awhile.
71+
If you experience issues on your CI you may have to toggle the `UPGRADE` input to true in order to get the latest installs. If you see
72+
a playwright error try adding `PLAYWRIGHT_VERSION` env variable with the newest version to install chrome.
11673

11774
## CLI
11875

action.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: A11yWatch
88
branding:
99
icon: "shield"
1010
color: "gray-dark"
11-
description: Powerful web accessibility testing.
11+
description: Fast and feature-packged web accessibility testing.
1212
inputs:
1313
WEBSITE_URL:
1414
description: Website domain to scan
@@ -148,15 +148,15 @@ runs:
148148
uses: baptiste0928/cargo-install@v1
149149
with:
150150
crate: a11ywatch_cli
151-
version: "0.10.7"
151+
version: "0.10.8"
152152
features: "grpc"
153153

154154
- name: A11yWatch CLI Install
155155
if: ${{ inputs.SLIM == 'false' }}
156156
uses: baptiste0928/cargo-install@v1
157157
with:
158158
crate: a11ywatch_cli
159-
version: "0.10.7"
159+
version: "0.10.8"
160160

161161
- name: Configure CLI creds
162162
if: ${{ inputs.A11YWATCH_TOKEN }}
@@ -178,11 +178,6 @@ runs:
178178
shell: bash
179179
run: a11ywatch --set-recording ${{ inputs.RECORD }}
180180

181-
- name: Configure Recording
182-
if: ${{ inputs.RECORD }}
183-
shell: bash
184-
run: a11ywatch --set-recording ${{ inputs.RECORD }}
185-
186181
- uses: FedericoCarboni/setup-ffmpeg@v2
187182
if: ${{ inputs.RECORD && inputs.RECORD != 'false' }}
188183

0 commit comments

Comments
 (0)