smarr / smark Goto Github PK
View Code? Open in Web Editor NEWWrite Benchmarks like Tests
License: MIT License
Write Benchmarks like Tests
License: MIT License
The method ScriptStarter class>>#startUp
in the Scripting
package makes this:
IsResuming ifFalse: [ Transcript show: 'ScriptStarter did not execute a given script, since it assumes to be executed after a snapshot and not during startup.'.
^ self. ].
Which means that this class writes the text to Transcript on every normal image save. Moreover, it does not end it with cr
which makes it even more annoying.
A baseline pointing to master is unstable, please tag versions with git tags or GitHub releases.
Hello!
Is it MIT?
I have written a bench with a big preparation in the setUp (and also tearDown). Unfortunately the setUp and the tearDown are called three times for a simple "run", I cannot do a "run: 100000" with just an only setUp.
My bench is passed three times because of this method :
performBenchmark: aSelector
"Based on an email by Eliot from May 16th, 2011.
The first time a method is executed it will get into the inline cache.
The second time, it is found in the inline cache, which triggers the JIT compiler to produce code.
Thus, the third time it should be executed in the steady state."
warmingUp := true.
suite runBenchmark: aSelector.
Smalltalk garbageCollect.
suite runBenchmark: aSelector.
Smalltalk garbageCollect.
warmingUp := false.
^ super performBenchmark: aSelector.
It's appear that the class SMarkCogRunner is used as default Runner, I am on Pharo 9 (64bits) is it still applicable ?
Do you know a solution ?
Do you have a best way to do a 'run: 10000' with a single setUp ?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.