Skip to content

Instantly share code, notes, and snippets.

@tatsuhiro-t
Last active January 2, 2016 07:19
Show Gist options
  • Save tatsuhiro-t/8268839 to your computer and use it in GitHub Desktop.
Save tatsuhiro-t/8268839 to your computer and use it in GitHub Desktop.

hpack-test-case compression ratio

The each cell has X (Y/Z) format:

X
Y / Z
Y
number of bytes after compression
Z
number of bytes before compression
story go-hpack haskell-http2 nghttp2 node-http2-hpack node-http2-protocol twitter-hpack
story_00.json 0.99 (182/183) 0.43 (79/183) 0.36 (65/183) 0.40 (74/183) 0.36 (65/183) 0.36 (65/183)
story_01.json 1.02 (182/178) 0.47 (83/178) 0.31 (56/178) 0.31 (56/178) 0.31 (56/178) 0.31 (56/178)
story_02.json 0.83 (2855/3456) 0.25 (868/3456) 0.19 (653/3456) 0.20 (680/3456) 0.19 (660/3456) 0.19 (660/3456)
story_03.json 0.85 (2638/3113) 0.21 (658/3113) 0.14 (446/3113) 0.15 (455/3113) 0.14 (445/3113) 0.14 (445/3113)
story_04.json 0.85 (2638/3113) 0.21 (658/3113) 0.14 (446/3113) 0.15 (455/3113) 0.14 (445/3113) 0.14 (445/3113)
story_05.json 0.84 (2914/3455) 0.21 (715/3455) 0.15 (507/3455) 0.15 (514/3455) 0.15 (504/3455) 0.15 (504/3455)
story_06.json 0.84 (2948/3489) 0.27 (928/3489) 0.23 (797/3489) 0.24 (834/3489) 0.23 (805/3489) 0.23 (805/3489)
story_07.json 0.84 (2687/3192) 0.25 (805/3192) 0.18 (559/3192) 0.19 (593/3192) 0.18 (568/3192) 0.18 (568/3192)
story_08.json 0.84 (3366/4006) 0.33 (1309/4006) 0.24 (942/4006) 0.24 (959/4006) 0.24 (949/4006) 0.24 (949/4006)
story_09.json 0.84 (2771/3309) 0.25 (830/3309) 0.19 (628/3309) 0.18 (581/3309) 0.17 (572/3309) 0.17 (572/3309)
story_10.json 0.84 (2600/3078) 0.21 (635/3078) 0.16 (489/3078) 0.16 (501/3078) 0.16 (487/3078) 0.16 (487/3078)
story_11.json 0.83 (3069/3706) 0.24 (897/3706) 0.19 (719/3706) 0.20 (732/3706) 0.19 (712/3706) 0.19 (712/3706)
story_12.json 0.84 (4203/4975) 0.17 (825/4975) 0.14 (677/4975) 0.14 (720/4975) 0.14 (685/4975) 0.14 (685/4975)
story_13.json 0.84 (2618/3104) 0.20 (633/3104) 0.15 (477/3104) 0.16 (510/3104) 0.16 (485/3104) 0.16 (485/3104)
story_14.json 0.84 (2611/3114) 0.21 (655/3114) 0.17 (534/3114) 0.18 (556/3114) 0.17 (542/3114) 0.17 (542/3114)
story_15.json 0.84 (2563/3046) 0.19 (578/3046) 0.14 (425/3046) 0.14 (436/3046) 0.14 (431/3046) 0.14 (431/3046)
story_16.json 0.82 (3440/4189) 0.26 (1077/4189) 0.22 (911/4189) 0.20 (836/4189) 0.20 (823/4189) 0.20 (823/4189)
story_17.json 0.84 (2702/3233) 0.22 (709/3233) 0.17 (548/3233) 0.18 (579/3233) 0.17 (555/3233) 0.17 (555/3233)
story_18.json 0.83 (2879/3457) 0.24 (838/3457) 0.18 (632/3457) 0.19 (644/3457) 0.18 (639/3457) 0.18 (639/3457)
story_19.json 0.85 (2820/3321) 0.26 (873/3321) 0.19 (643/3321) 0.20 (675/3321) 0.20 (651/3321) 0.20 (651/3321)
story_20.json 0.82 (52560/63971) 0.23 (14930/63971) 0.12 (7461/63971) 0.14 (9109/63971) 0.14 (8695/63971) 0.14 (8695/63971)
story_21.json 0.86 (126884/147841) 0.40 (59079/147841) 0.37 (54502/147841) 0.37 (54204/147841) 0.37 (54098/147841) 0.37 (54098/147841)
story_22.json 0.84 (94840/112819) 0.30 (34277/112819) 0.24 (27578/112819) 0.25 (28565/112819) 0.25 (27926/112819) 0.25 (27926/112819)
story_23.json 0.87 (94046/108675) 0.43 (46340/108675) 0.36 (39112/108675) 0.36 (39231/108675) 0.36 (39047/108675) 0.36 (39047/108675)
story_24.json 0.86 (8089/9458) 0.34 (3236/9458) 0.26 (2455/9458) 0.26 (2486/9458) 0.26 (2474/9458) 0.26 (2474/9458)
story_25.json 0.84 (60107/71264) 0.39 (27757/71264) 0.33 (23169/71264) 0.33 (23739/71264) 0.33 (23647/71264) 0.33 (23647/71264)
story_26.json 0.86 (32001/37215) 0.35 (13126/37215) 0.30 (11248/37215) 0.31 (11396/37215) 0.31 (11388/37215) 0.31 (11388/37215)
story_27.json 0.85 (113359/133117) 0.36 (47521/133117) 0.30 (39982/133117) 0.31 (40829/133117) 0.31 (40816/133117) 0.31 (40816/133117)
story_28.json 0.87 (37431/42824) 0.41 (17545/42824) 0.33 (14032/42824) 0.33 (14177/42824) 0.33 (14143/42824) 0.33 (14143/42824)
story_29.json 0.87 (102255/117127) 0.42 (49353/117127) 0.34 (39708/117127) 0.35 (41485/117127) 0.35 (41393/117127) 0.35 (41393/117127)
story_30.json 0.88 (191244/218129) 0.36 (78817/218129) 0.30 (64727/218129) 0.30 (65881/218129) 0.30 (65505/218129) 0.30 (65505/218129)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment