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).

!752

static L<S> urls = litlist(
  "http://tinybrain.de:8080/tb-int/get-transpiled.php?raw=1&withlibs=1&id=1000825&utf8=1",
  "http://tinybrain.de:8080/tb-int/get-transpiled.php?raw=1&withlibs=1&id=1000825&utf8=1");
  
p {
  /*loadPage_allowGzip =*/ loadPage_debug = true;
  
  print(l(loadPage("tinybrain.de:8080/tb/all-computers.php")));
  
  new L<S> data;
  for (S url : urls) {
    S s;
    time {
      data.add(s = loadPage(url));
    }
    print("Chars loaded: " + l(s));
    loadPage_allowGzip = false;
  }
  print(unidiff(data.get(0), data.get(1)));
}

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: 671 / 720
Referenced in: [show references]