Thursday, September 29, 2016

JPEG2000 performance numbers on cornerstone

At yesterday's OHIF Community meeting I reported a 3x speedup in JPEG2000 performance with the latest dev branch of cornerstone and that we are now within 50% of native performance.  The speedup really surprised me and I can't really explain it other than there must have been many speed improvements in OpenJPEG 2.1.1.  After this presentation OpenJPEG 2.1.2 was released which has additional speed improvements and additional ones are currently in development.  The future for JPEG2000 performance is looking very good.

Image: 3063x4664 MG JPEG2000 Image (MG1 from dclunie’s compression samples)
Test Environment: MacBook Pro (Retina, 15-inch Mid 2014 2.8 GHz Intel Core i7 macOS Sierra):

Native:

Kakadu Speedpack (vs7_8-01480C) decompress with 8 threads - .259 seconds
Kakadu Speedpack (vs7_8-01480C) decompress with 1 thread – 1.186 seconds
Kakdu (v7_8-01480C) decompress with 8 threads - .345 seconds
Kakdu (v7_8-01480C) decompress with 1 thread – 1.7862 seconds
OpenJPEG (master) decompress with 1 thread – 4.165 seconds
OpenJPEG (master) decompress with 8 threads – 2.113 seconds
OpenJPEG (2.1.1) decompress with 1 thread – 4.847 seconds
Grok (master) decompress with 1 thread– 2.810 seconds

JavaScript (OpenJPEG 2.1.0 + EMSCRIPTEN 1.35.0):
Cornerstone (master) on Chrome 53 – 20.370 seconds

JavaScript (OpenJPEG 2.1.1 + EMSCRIPTEN 1.35.0):
Cornerstone (dev) on Chrome 53 – 6.693 seconds
Cornerstone (dev) on FireFox 48 – 6.832 seconds
Cornerstone (dev) on Safari 10 – 8.040 seconds
Cornerstone (dev) on Opera 39 – 6.882 seconds
Cornerstone (dev) on Chrome 53 in Windows 7 VM – 7.899 seconds
Cornerstone (dev) on IE 11 in Windows 7 VM – 17.832 seconds
Cornerstone (dev) on Edge in Windows 10 VM – 11.994 seconds


No comments:

Post a Comment