Skip to content
Martín Dias edited this page May 5, 2022 · 28 revisions

Welcome to the BlocBenchs wiki!

Install

  1. Download Pharo 11 (Bloc:dev-1.0 is incompatible with Pharo 10)

  2. Load the baseline with:

EpMonitor disableDuring: [
  Author useAuthor: 'Load' during: [
    [	Metacello new
        baseline: 'BlocBenchs';
        repository: 'github://pharo-graphics/BlocBenchs:dev-1.0/src';
        onConflictUseIncoming;
        ignoreImage;
        load.
    ]	on: MCMergeOrLoadWarning
      do: [ :warning | warning load ] ] ]

Alternative Install

We have a build script that downloads Pharo and loads the project. It's prepared to work on MacOS, Linux and Windows (tested with the bash shell terminal that comes with git for Windows).

To use it:

  1. Clone this repository (this will be the <repo_path>)
  2. Create anywhere in your system a directory where the image will be build, and open a terminal there.
  3. Execute <repo_path>/scripts/build.sh

Executable Entry-Points

  • Check class comment of PCBlocBenchmarker
  • Evaluate BlCanvasBenchmarkRunner class>>#exampleInspect
  • See class-side examples of BlCanvasBenchmarkRunner
Clone this wiki locally