Comments (2)
COST CENTRE MODULE SRC %time %alloc
best.be.lineLoc Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(609,9)-(618,57) 11.9 3.9
best.be Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(581,5)-(626,33) 10.5 28.9
doMake Test.Ssm.Build test/lib/Test/Ssm/Build.hs:(65,1)-(79,51) 6.6 1.5
displayS.go Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(675,5)-(681,67) 4.4 14.6
MAIN MAIN <built-in> 3.7 0.2
flatten Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(344,1)-(355,44) 3.2 4.0
>>=.\.(...) Test.QuickCheck.Gen Test/QuickCheck/Gen.hs:68:15-35 3.2 1.2
randomIvalInteger System.Random System/Random.hs:(468,1)-(489,76) 2.3 2.5
primitive Control.Monad.Primitive Control/Monad/Primitive.hs:97:3-16 2.2 1.4
pprPrec Language.C.Pretty Language/C/Pretty.hs:(788,5)-(1009,48) 2.2 1.9
best.be.pragma Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(625,9)-(626,33) 1.9 0.1
doVg Test.Ssm.Build test/lib/Test/Ssm/Build.hs:(88,1)-(98,72) 1.9 0.8
<> Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:128:5-14 1.8 1.9
eval LowInterpreter edsl/LowInterpreter.hs:(575,1)-(601,49) 1.7 1.9
createBlock256 System.Random.TF.Gen src/System/Random/TF/Gen.hs:(41,1)-(47,26) 1.4 2.1
mash System.Random.TF.Gen src/System/Random/TF/Gen.hs:(117,1)-(126,29) 1.3 0.8
sleep Test.Hspec.Core.Clock src/Test/Hspec/Core/Clock.hs:33:1-36 1.3 0.0
text Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:143:1-28 1.2 0.4
best.better Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(629,5)-(630,42) 1.1 2.3
tfGenSplit System.Random.TF.Gen src/System/Random/TF/Gen.hs:(166,1)-(173,35) 1.1 2.2
pprLoc Language.C.Pretty Language/C/Pretty.hs:31:1-34 0.8 1.3
best.updatePos Text.PrettyPrint.Mainland Text/PrettyPrint/Mainland.hs:(643,5)-(645,41) 0.7 1.6
reportFileOnFail Test.Ssm.Report test/lib/Test/Ssm/Report.hs:(95,1)-(103,48) 0.6 1.2
mkTFGen System.Random.TF.Gen src/System/Random/TF/Gen.hs:(133,1)-(134,36) 0.5 2.1
randomIvalIntegral System.Random System/Random.hs:462:1-71 0.5 1.1
tfGenNext' System.Random.TF.Gen src/System/Random/TF/Gen.hs:(157,1)-(163,32) 0.3 1.5
from scoria.
This might not be a huge issue; as we start doing more with the compiler itself, the time spent on pretty-printing the C code may eventually be overshadowed the time spent in the rest of the compiler.
And while this compile time adds up for our test suites, it's still relatively small, so it shouldn't impact usability for language users.
from scoria.
Related Issues (20)
- Implement unit type as SSMType HOT 4
- Even better shrinker! HOT 2
- Can't use references in operators HOT 6
- SSM time types for frontend HOT 9
- Lower deref from statement level to expression level HOT 1
- Profile interpreter to see if it's the culprit that makes the tests take longer than previously HOT 3
- Transpilation bug - names are duplicated HOT 4
- Ask Zephyr people about 64bit timers
- Refactor interpreter
- Connect standard streams to global references HOT 1
- Make expressions compile to ordinary types in C, not scheduled variables HOT 1
- Remove arguments to the entry point HOT 1
- Inefficient distribution of priorities HOT 1
- Propagate parse errors from trace parsers to testing framework
- Make core syntax more fine grained
- Examples wishlist HOT 2
- Don't assume long == 64-bit
- Add "escape hatch" in EDSL HOT 2
- Integer overflow in interpreter might be UB HOT 1
- [RFC] Output handlers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scoria.