Download Jar. Libraryless. Click here for Pure Java version (16316L/115K).
1 | !7 |
2 | |
3 | !include #1011700 // quickExport |
4 | |
5 | set flag FastLisp. |
6 | static S intern(S s) { ret internPerProgram(s); } |
7 | |
8 | p { |
9 | L<Web> webs = asList(allIndexedWebs()); |
10 | Class module = hotwire(programID()); |
11 | poorMansProfiling(50); |
12 | time "Export" { |
13 | quickExport(webs, module, l(webs)*20); |
14 | } |
15 | poorMansProfiling_stop(); |
16 | |
17 | print("Total runtime: " + toS(sysNow()-vmStartTime_sys(), 1) + " s" |
18 | + " (" + toS(sysNow()-programLoadTime_sys(), 1) + " s in program)"); |
19 | |
20 | poorMansProfiling_saveResults(); |
21 | poorMansProfiling_printInnermostFunctions(); |
22 | } |
Began life as a copy of #1011571
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011697 |
Snippet name: | Bench exporting all webs to another module - it's faster than loading them from file |
Eternal ID of this version: | #1011697/12 |
Text MD5: | 505b940186e682dde8a6d54690d9f3d5 |
Transpilation MD5: | a82342fd45b1661effb87f50d4cbe1a2 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-02 19:35:59 |
Source code size: | 566 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 672 / 1682 |
Version history: | 11 change(s) |
Referenced in: | [show references] |