Skip to content

Commit

Permalink
Remove former 'Packed' version from www
Browse files Browse the repository at this point in the history
  • Loading branch information
Senryoku committed Nov 25, 2023
1 parent 7eba76b commit efe4871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion www/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions www/src/components/LibBenchmark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ ChartJS.defaults.borderColor = '#555'
ChartJS.register(Title, Tooltip, Legend, BarElement, CategoryScale, LinearScale, Colors)
// import { compress, decompress } from 'smol-string'
// import { compressPacked, decompressPacked } from 'smol-string/packed'
import { compress, decompress } from 'smol-string/worker'
import { compressPacked, decompressPacked } from 'smol-string/worker/packed'
// @ts-expect-error
import LZString from '../../lz-string.min.js'
Expand Down Expand Up @@ -83,7 +79,7 @@ const chartOptions = {
const chartSizeOptions = structuredClone(chartOptions)
chartSizeOptions.scales.y.title.text = 'Size (%)'
const methods = ['smol-string', 'smol-string-packed', 'LZString', 'LZString UTF-16']
const methods = ['smol-string', 'LZString', 'LZString UTF-16']
const chartDataCompression = computed(() => {
const datasets = []
Expand Down Expand Up @@ -173,7 +169,6 @@ for (const { name, input } of usedTests) {
for (const { name, input } of usedTests) {
await test('smol-string', name, input, compress, decompress)
await test('smol-string-packed', name, input, compressPacked, decompressPacked)
await test('LZString', name, input, LZString.compress, LZString.decompress)
await test('LZString UTF-16', name, input, LZString.compressToUTF16, LZString.decompressFromUTF16)
}
Expand Down

0 comments on commit efe4871

Please sign in to comment.