[Vm-dev] Call for big benchmarks

Eliot Miranda eliot.miranda at gmail.com
Thu Mar 23 16:18:49 UTC 2017

Hi Tim,

On Thu, Mar 23, 2017 at 1:31 AM, Tim Felgentreff <timfelgentreff at gmail.com>

> Yes, big benchmarks would be nice. Those on speed.squeak.org or in
> VMMaker are all somewhat small.
> Note the Ruby community, for example, has benchmarks such as a NES
> emulator (optcarrot) that can run for a few thousand frames with predefined
> input as benchmarks. It's definitely possible.
> Maybe some of the projects from HPI students could be made to work, there
> was a Chip8 emulator in Squeak, for example, that seems big enough. Or
> maybe the DCPU emulator at github.com/fniephaus/BroDCPU without a frame
> limit would work as a decent CPU bound benchmark.

I've discussed with Clément doing something like cloning the Opal compiler,
or the Squeak compiler, so that it uses a fixed set of classes that won't
change over time, excepting the collections, and using as a benchmark this
compiler recompiling all its own methods.  This is a nice mix of string
processing (in the tokenizer) and symbolic processing (in the building and
optimizing of the parse tree).

> Cross - dialect could be hard. Pharo and Squeak are fairly easy to do, but
> with larger programs staying compatible across different dialects is harder.

Again, extracting a compiler from its host system would make it possible to
maintain a cross-platform version.  It could be left as an exercise to the
reader to port it to one's favorite non-Smalltalk dynamic language.

tim Rowledge <tim at rowledge.org> schrieb am Mi., 22. März 2017, 21:40:
>> > On 21-03-2017, at 4:53 PM, Javier Pimás <elpochodelagente at gmail.com>
>> wrote:
>> >
>> > Hi everybody! While measuring performance I usually face the problem of
>> assessing performance.
>> Have you tried the benchmarks package - CogBenchmarks - included in the
>> source.squeak.org/VMMaker repository?
>> tim
>> --
>> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
>> Strange OpCodes: BOMB: Burn Out Memory Banks

best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20170323/0d4803f5/attachment.html>

More information about the Vm-dev mailing list