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

update css snapshots for testing and benchmarking #347

Merged
merged 1 commit into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
19 changes: 9 additions & 10 deletions benchmark/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ import byteSize from './format-filesize.js'
import { analyze as analyzeCss } from '../dist/analyzer.modern.js'
import * as fs from 'fs'
const files = [
['bol-com-20190617', 'Bol.com', 123],
['bootstrap-5.0.0', 'Bootstrap 5.0.0', 52],
['cnn-20220403', 'CNN', 422],
['css-tricks-20190319', 'CSS-Tricks', 57],
['facebook-20190319', 'Facebook.com', 76],
['github-20210501', 'GitHub.com', 105],
['gazelle-20210905', 'Gazelle.nl', 324],
['lego-20190617', 'Lego.com', 63],
['smashing-magazine-20190319', 'Smashing Magazine.com', 322],
['trello-20190617', 'Trello.com', 87],
['bol-com-20231008', 'Bol.com', 63],
['bootstrap-5.3.2', 'Bootstrap 5.3.2', 29],
['cnn-20231008', 'CNN', 55],
['css-tricks-20231008', 'CSS-Tricks', 16],
['gazelle-20231008', 'Gazelle.nl', 145],
['github-20231008', 'GitHub.com', 148],
['indiatimes-20231008', 'IndiaTimes.com', 51],
['smashing-magazine-20231008', 'Smashing Magazine.com', 63],
['trello-20231008', 'Trello.com', 18],
]

let maxLen = -1
Expand Down
806 changes: 0 additions & 806 deletions src/__fixtures__/bol-com-20190617.css

This file was deleted.

29,247 changes: 29,247 additions & 0 deletions src/__fixtures__/bol-com-20231008.css

Large diffs are not rendered by default.

99,387 changes: 48,672 additions & 50,715 deletions src/__fixtures__/bol-com-20190617.json → src/__fixtures__/bol-com-20231008.json

Large diffs are not rendered by default.

Loading