Ingvar Stepanyan
b8f801333d
Switch to prebuilt WABT and wasm-pack
...
Significantly speeds up `npm run build:image` commands (as they don't need to compile anything anymore) and slightly reduces size of Docker images:
- `squoosh-rotate`: 1.87GB -> 1.84GB
- `squoosh-resize`: 2.02GB -> 1.85GB
- `squoosh-hqx`: 2.06GB -> 1.9GB
2019-08-02 17:23:09 +01:00
Ingvar Stepanyan
499956e216
Switch to stable Rust
...
Nightly is no longer necessary for wee_alloc, so we don't need to rely on unstable versions of Rust anymore.
As a bonus, this reduces size of each Rust-related Docker image by >1 GB:
- `squoosh-rotate`: 2.94GB -> 1.87GB
- `squoosh-resize`: 3.09GB -> 2.02GB
- `squoosh-hqx`: 3.13GB -> 2.06GB
2019-08-02 16:14:44 +01:00
Surma
ba90517ad7
Remove baseline benchmark and switch to tile size 16
2019-02-21 15:16:26 +00:00
Joachim Viide
0e8c0da3dd
Update the built rotate.wasm file
2019-02-21 15:16:26 +00:00
Joachim Viide
3132a207e1
Fix potential over-the-bounds slicing in rotate.rs
2019-02-21 15:16:26 +00:00
Joachim Viide
f507a2464f
Update the built rotate.wasm file
2019-02-21 15:16:25 +00:00
Joachim Viide
14baa6ebf8
Reorganize rotate.rs, separate rotations into their own functions
2019-02-21 15:16:25 +00:00
Joachim Viide
5d32126565
Use iteration in rotate.rs whenever possible
2019-02-21 15:16:25 +00:00
Joachim Viide
484ff7ab4c
Fix unwrap_hard when debug_assertions is set
2019-02-21 15:16:25 +00:00
Surma
36f86385a2
Update benchmark flags
2019-02-21 15:16:24 +00:00
Surma
436faa17af
More conservative tiling size
2019-02-21 15:16:24 +00:00
Surma
d205ae206f
Implement 180 and 270
2019-02-21 15:16:24 +00:00
Surma
6baa5900fc
Implement tiling
2019-02-21 15:16:24 +00:00
Surma
fadb53f075
Readd rotation cases
2019-02-21 15:16:24 +00:00
Surma
1a63387408
Use a trait to make it nicer
2019-02-21 15:16:23 +00:00
Surma
a316120b69
Switch to 8 byte offset
2019-02-21 15:16:23 +00:00
Surma
0d1e5ef119
Simplify rotation code to 90deg only
2019-02-21 15:16:23 +00:00
Surma
b49cfca39d
Scriptify benchmark running
2019-02-21 15:16:23 +00:00
Surma
ab58df4c2c
Benchmark all rotations
2019-02-21 15:16:22 +00:00
Surma
db20f10bd2
Write d8 benchmark using the baseline compiler
2019-02-21 15:16:22 +00:00
Surma
91e7c9c5ad
Make Rust rotate code smaller ( #462 )
...
* Make Rust rotate code smaller
* Back on the rust happy path
2019-02-15 09:47:26 +00:00
Surma
9a35224535
Update wasm build
2019-02-11 16:22:29 +00:00
Surma
b6a8f7eeba
Rotate implementation in Rust
2019-02-11 16:22:28 +00:00