Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

22
LINES

< > BotCompany Repo | #1003371 // Time loadPage (for testing gzip encoding)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1616L/14K/24K).

1  
!752
2  
3  
static L<S> urls = litlist(
4  
  "http://tinybrain.de:8080/tb-int/get-transpiled.php?raw=1&withlibs=1&id=1000825&utf8=1",
5  
  "http://tinybrain.de:8080/tb-int/get-transpiled.php?raw=1&withlibs=1&id=1000825&utf8=1");
6  
  
7  
p {
8  
  /*loadPage_allowGzip =*/ loadPage_debug = true;
9  
  
10  
  print(l(loadPage("tinybrain.de:8080/tb/all-computers.php")));
11  
  
12  
  new L<S> data;
13  
  for (S url : urls) {
14  
    S s;
15  
    time {
16  
      data.add(s = loadPage(url));
17  
    }
18  
    print("Chars loaded: " + l(s));
19  
    loadPage_allowGzip = false;
20  
  }
21  
  print(unidiff(data.get(0), data.get(1)));
22  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003371
Snippet name: Time loadPage (for testing gzip encoding)
Eternal ID of this version: #1003371/1
Text MD5: 9a58f31932230a29bfcb8184c8875d0c
Transpilation MD5: 98d0a036c93573571f4db45f108557e3
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-27 14:22:45
Source code size: 583 bytes / 22 lines
Pitched / IR pitched: No / No
Views / Downloads: 672 / 721
Referenced in: [show references]