Libraryless. Click here for Pure Java version (525L/4K/13K).
1 | !752 |
2 | |
3 | static int n = 10000, l = 1000; |
4 | |
5 | p { |
6 | byte[] data = new byte[l]; |
7 | for i to l: data[i] = (byte) (i+1); |
8 | |
9 | print("Bytes=" + n*l); |
10 | |
11 | for i to 10: time { |
12 | for j to n: |
13 | md5(data); |
14 | } |
15 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005712 |
Snippet name: | Test MD5 speed |
Eternal ID of this version: | #1005712/1 |
Text MD5: | e9de13863d4965d8d1cc5cd689b36a93 |
Transpilation MD5: | 5f98455b2cff14c20ff8b6dfe7f90166 |
Author: | stefan |
Category: | javax / benchmarking |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-04 13:51:25 |
Source code size: | 215 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 388 / 463 |
Referenced in: | [show references] |