BenchmarkScoreMaker

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=1]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "abjad.system.BenchmarkScoreMaker.BenchmarkScoreMaker" [URL="../api/abjad/system/BenchmarkScoreMaker.html#abjad.system.BenchmarkScoreMaker.BenchmarkScoreMaker", color=black, fontcolor=white, label="Benchmark\nScore\nMaker", target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.BenchmarkScoreMaker.BenchmarkScoreMaker"; } subgraph cluster_builtins { graph [label=builtins]; node [color=2]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

class abjad.system.BenchmarkScoreMaker.BenchmarkScoreMaker

Benchmark score-maker.

>>> benchmark_score_maker = abjad.BenchmarkScoreMaker()
>>> benchmark_score_maker
BenchmarkScoreMaker()

Use to instantiate scores for benchmark testing.


Attributes Summary

make_bound_hairpin_score_01 Make 200-note voice with p-to-f bound crescendo spanner on every 4 notes.
make_bound_hairpin_score_02 Make 200-note voice with p-to-f bound crescendo spanner on every 20 notes.
make_bound_hairpin_score_03 Make 200-note voice with p-to-f bound crescendo spanner on every 100 notes.
make_hairpin_score_01 Make 200-note voice with crescendo spanner on every 4 notes.
make_hairpin_score_02 Make 200-note voice with crescendo spanner on every 20 notes.
make_hairpin_score_03 Make 200-note voice with crescendo spanner on every 100 notes.
make_score_00 Make 200-note voice (with nothing else).
make_score_with_indicators_01 Make 200-note voice with dynamic on every 20th note:
make_score_with_indicators_02 Make 200-note staff with dynamic on every 4th note.
make_score_with_indicators_03 Make 200-note staff with dynamic on every note.
make_spanner_score_01 Make 200-note voice with durated complex beam spanner on every 4 notes.
make_spanner_score_02 Make 200-note voice with durated complex beam spanner on every 20 notes.
make_spanner_score_03 Make 200-note voice with durated complex beam spanner on every 100 notes.
make_spanner_score_04 Make 200-note voice with slur spanner on every 4 notes.
make_spanner_score_05 Make 200-note voice with slur spanner on every 20 notes.
make_spanner_score_06 Make 200-note voice with slur spanner on every 100 notes.
make_spanner_score_07 Make 200-note voice with (vanilla) beam spanner on every 4 notes.
make_spanner_score_08 Make 200-note voice with (vanilla) beam spanner on every 20 notes.
make_spanner_score_09 Make 200-note voice with (vanilla) beam spanner on every 100 notes.

Special methods

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to '' or 'storage'. Interprets '' equal to 'storage'.

Returns string.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Methods

make_bound_hairpin_score_01()

Make 200-note voice with p-to-f bound crescendo spanner on every 4 notes.

2.12 (r9726) initialization: 279,448 function calls

2.12 (r9726) LilyPond format: 124,517 function calls

make_bound_hairpin_score_02()

Make 200-note voice with p-to-f bound crescendo spanner on every 20 notes.

2.12 (r9726) initialization: 268,845 function calls

2.12 (r9726) LilyPond format: 117,846 function calls

make_bound_hairpin_score_03()

Make 200-note voice with p-to-f bound crescendo spanner on every 100 notes.

2.12 (r9726) initialization: 267,417 function calls

2.12 (r9726) LilyPond format: 116,534 function calls

make_hairpin_score_01()

Make 200-note voice with crescendo spanner on every 4 notes.

2.12 (r9726) initialization: 248,502 function calls 2.12 (r9728) initialization: 248,502 function calls

2.12 (r9726) LilyPond format: 138,313 function calls 2.12 (r9728) LilyPond format: 134,563 function calls

make_hairpin_score_02()

Make 200-note voice with crescendo spanner on every 20 notes.

2.12 (r9726) initialization: 248,687 function calls 2.12 (r9728) initialization: 248,687 function calls

2.12 (r9726) LilyPond format: 134,586 function calls 2.12 (r9728) LilyPond format: 129,836 function calls

make_hairpin_score_03()

Make 200-note voice with crescendo spanner on every 100 notes.

2.12 (r9726) initialization: 249,363 function calls 2.12 (r9726) initialization: 249,363 function calls

2.12 (r9726) LilyPond format: 133,898 function calls 2.12 (r9728) LilyPond format: 128,948 function calls

make_score_00()

Make 200-note voice (with nothing else).

2.12 (r9710) initialization: 156,821 function calls 2.12 (r9726) initialization: 156,827 function calls

2.12 (r9703) LilyPond format: 99,127 function calls 2.12 (r9710) LilyPond format: 100,126 function calls 2.12 (r9726) LilyPond format: 105,778 function calls

make_score_with_indicators_01()

Make 200-note voice with dynamic on every 20th note:

2.12 (r9704) initialization: 630,433 function calls 2.12 (r9710) initialization: 235,120 function calls 2.12 r(9726) initialization: 235,126 function calls

2.12 (r9704) LilyPond format: 136,637 function calls 2.12 (r9710) LilyPond format: 82,730 function calls 2.12 (r9726) LilyPond format: 88,382 function calls

make_score_with_indicators_02()

Make 200-note staff with dynamic on every 4th note.

2.12 (r9704) initialization: 4,632,761 function calls 2.12 (r9710) initialization: 327,280 function calls 2.12 (r9726) initialization: 325,371 function calls

2.12 (r9704) LilyPond format: 220,277 function calls 2.12 (r9710) LilyPond format: 84,530 function calls 2.12 (r9726) LilyPond format: 90,056 function calls

make_score_with_indicators_03()

Make 200-note staff with dynamic on every note.

2.12 (r9704) initialization: 53,450,195 function calls (!!) 2.12 (r9710) initialization: 2,124,500 function calls 2.12 (r9724) initialization: 2,122,591 function calls

2.12 (r9704) LilyPond format: 533,927 function calls 2.12 (r9710) LilyPond format: 91,280 function calls 2.12 (r9724) LilyPond format: 96,806 function calls

make_spanner_score_01()

Make 200-note voice with durated complex beam spanner on every 4 notes.

2.12 (r9710) initialization: 248,654 function calls 2.12 (r9724) initialization: 248,660 function calls

2.12 (r9703) LilyPond format: 425,848 function calls 2.12 (r9710) LilyPond format: 426,652 function calls 2.12 (r9724) LilyPond format: 441,884 function calls

make_spanner_score_02()

Make 200-note voice with durated complex beam spanner on every 20 notes.

2.12 (r9710) initialization: 250,954 function calls 2.12 (r9724) initialization: 248,717 function calls

2.12 (r9703) LilyPond format: 495,768 function calls 2.12 (r9710) LilyPond format: 496,572 function calls 2.12 (r9724) LilyPond format: 511,471 function calls

make_spanner_score_03()

Make 200-note voice with durated complex beam spanner on every 100 notes.

2.12 (r9710) initialization: 251,606 function calls 2.12 (r9724) initialization: 249,369 function calls

2.12 (r9703) LilyPond format: 509,752 function calls 2.12 (r9710) LilyPond format: 510,556 function calls 2.12 (r9724) LilyPond format: 525,463 function calls

make_spanner_score_04()

Make 200-note voice with slur spanner on every 4 notes.

2.12 (r9724) initialization: 245,683 function calls

2.12 (r9703) LilyPond format: 125,577 function calls 2.12 (r9724) LilyPond format: 111,341 function calls

make_spanner_score_05()

Make 200-note voice with slur spanner on every 20 notes.

2.12 (r9724) initialization: 248,567 function calls

2.12 (r9703) LilyPond format: 122,177 function calls 2.12 (r9724) LilyPond format: 107,486 function calls

make_spanner_score_06()

Make 200-note voice with slur spanner on every 100 notes.

2.12 (r9724) initialization: 249,339 function calls

2.12 (r9703) LilyPond format: 121,497 function calls 2.12 (r9724) LilyPond format: 106,718 function calls

make_spanner_score_07()

Make 200-note voice with (vanilla) beam spanner on every 4 notes.

2.12 (r9724) initialization: 245,683 function calls

2.12 (r9703) LilyPond format: 125,577 function calls 2.12 (r9724) LilyPond format: 132,556 function calls

make_spanner_score_08()

Make 200-note voice with (vanilla) beam spanner on every 20 notes.

2.12 (r9724) initialization: 248,567 function calls

2.12 (r9703) LilyPond format: 122,177 function calls 2.12 (r9724) LilyPond format: 129,166 function calls

make_spanner_score_09()

Make 200-note voice with (vanilla) beam spanner on every 100 notes.

2.12 (r9724) initialization: 249,339 function calls

2.12 (r9703) LilyPond format: 121,497 function calls 2.12 (r9724) LilyPond format: 128,494 function calls