-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split up libcxx and the runtime, enabling lazy compilation of libcxx
- Loading branch information
Showing
7 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
VANILLA | ||
|
||
Cold compilation W rt debug: 4000 | ||
Cold compilation W/O rt debug: 2000 | ||
Warm compilation W/O rt debug: 1912 | ||
|
||
Runtime size: 2381kb | ||
Source size: 180kb | ||
|
||
Getting first symbol: 1151ms (jitting) | ||
|
||
Clang source: 676ms | ||
|
||
printing 180kb source: 8ms | ||
|
||
parsing source llvm ir: 13 ms | ||
parsing runtime llvm ir: 100 ms | ||
|
||
IMPLEMENTING BITCODE | ||
|
||
Runtime size: 534kb | ||
Source size: 54kb | ||
|
||
printing 54kb source: 11ms | ||
|
||
Cold compilation W rt debug: 4174 | ||
Cold compilation W/O rt debug: 2000 | ||
Warm compilation W/O rt debug: 1800 | ||
|
||
parsing source llvm ir: N/A | ||
parsing runtime llvm ir: 43 ms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -168,6 +168,4 @@ extern "C" | |
return p ? p->onEvent(event) : Status(Status::Error); | ||
} | ||
|
||
}; | ||
|
||
#include "libcxx.cpp" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters