27.01.2015 Views

A Methodology for Fine- Grained Parallelism in JavaScript ...

A Methodology for Fine- Grained Parallelism in JavaScript ...

A Methodology for Fine- Grained Parallelism in JavaScript ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Results: Pixastic<br />

1800<br />

600<br />

execution time (ms)<br />

1600<br />

1400<br />

1200<br />

1000<br />

800<br />

600<br />

400<br />

200<br />

ref<br />

skir cold<br />

skir warm<br />

time per image (ms)<br />

500<br />

400<br />

300<br />

200<br />

100<br />

edges<br />

sharpen<br />

sepia<br />

<strong>in</strong>vert<br />

0<br />

<strong>in</strong>vert sepia sharpen edges<br />

0<br />

1 2 4 6 8 10<br />

benchmark<br />

number of images<br />

●<br />

●<br />

●<br />

●<br />

●<br />

Test of acceleration due to SKIR<br />

Offload process<strong>in</strong>g of s<strong>in</strong>gle image to SKIR<br />

ref = ord<strong>in</strong>ary <strong>JavaScript</strong><br />

cold = SKIR - <strong>in</strong>cludes JIT overhead<br />

warm = SKIR - does not <strong>in</strong>clude JIT<br />

overhead<br />

●<br />

●<br />

●<br />

Test of task parallelism<br />

Launch 1 to 10 image<br />

process<strong>in</strong>g kernels <strong>in</strong> parallel<br />

Shows mean time per image<br />

●<br />

8 worker threads (4 cores / 8<br />

hardware threads)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!