Eve Smoke Test & Performance

The checks of the machine that are not feature tests. The smoke test is the quick check that the machine and the language are sane: each script is a driver with small functions and very simple expect lines, True is True, 0 == 0. It does not depend on the feature tests, and it shows that the program compiles, parses and has no contradiction. The performance benchmarks check that the machine stays fast while features are added: each has a twin in Python, and the history of the runs shows every change.

Smoke Test

The quick check that the machine and the language are sane: 21 scripts, one feature each, in less than a second. Run it with python script/runtest.py smoke.

CodeTestWhat it checksSource
s01s01_topologyTopology. The shape of a program: primary aspect, process, functions, procedures, regions.s01_topology.eve
s02s02_logicLogic. The truth values and their operators; an error here is absurd and obvious.s02_logic.eve
s03s03_numericNumbers. Zero, one, the extremes of the types, the operators and the literals.s03_numeric.eve
s04s04_stringStrings. The empty string, concatenation, comparison, escapes and placeholders.s04_string.eve
s05s05_collectionCollections. The empty ones, zero values, one element, indexes from 1, literals.s05_collection.eve
s06s06_variablesVariables. new, set and let; constants; sharing and copying; scopes.s06_variables.eve
s07s07_constantsConstants. set declares a value that never changes: typed or not, global or local.s07_constants.eve
s08s08_constant_assignA constant can't be changed. Assigning it is a compile error and nothing runs.s08_constant_assign.eve
s09s09_operatorsOperators. Precedence, compound forms, list operators, ranges, membership.s09_operators.eve
s10s10_controlControl flow. if, while, loop, for, match, break, skip, labels, the if suffix.s10_control.eve
s11s11_subprogramsSubprograms. Functions, procedures, arguments, recursion, lambdas, closures.s11_subprograms.eve
s12s12_errorsErrors. raise and recover, jobs with resume, error codes, defer, exit, over, finalize.s12_errors.eve
s13s13_typesTypes. type(), is, conversions, optional values, ordinals, variants.s13_types.eve
s14s14_objectsObjects. Class, methods, visibility, inheritance, extension, comparison.s14_objects.eve
s15s15_placeholdersPlaceholders. Names, literals, expressions, formats, code points, entities, braces.s15_placeholders.eve
s16s16_projectA project. One module, one aspect, one apply: import, life cycle order, safe and Atomic.s16_project.eve
s17s17_tasksTasks. async procedures spawned in a job, an async function awaited, a job that waits for all of them.s17_tasks.eve
s18s18_genericsGenerics and traits. A generic procedure, a generic class, a trait with a required and a provided method.s18_generics.eve
s19s19_dataData files. Records in a Table, written as CSV and as JSON Lines, read back typed; Decimal keeps its scale.s19_data.eve
s20s20_databaseDatabase. SQLite of the machine: a table, typed parameters, records, a job that rolls back, a Memory table there and back.s20_database.eve
s21s21_machineThe machine. A listening machine runs a script sent with -loc, the stdio door runs session commands, --listen stop ends it.s21_machine.eve

Performance

A small benchmark for each level, with a twin in Python. Median of 5 runs of the last saved ReleaseSafe measure (2026-10-21 21:45), the Python twin and the Debug build. Run them with python script/bmark.py; add --save to record a run.

LevelBenchmarkWhat it measuresEvePythonEve / PythonDebugSource
1p1a_arithinteger and real arithmetic, for and while loops, variables108 ms95 ms1.1x-source
1p1b_callsfunction calls, recursion (fib(20)), parameter binding86 ms54 ms1.6x-source
1p1c_collectionslist appends and iteration (60,000 elements), DataMap and DataSet30 ms60 ms0.5x-source
1p1d_stringsstring appends, placeholders, regular expression matches24 ms104 ms0.2x-source
1p1e_rationalRational arithmetic: a telescoping sum of 200,000 fractions, 20,000 runs of Newton's square root of 2 in fractions, 100,000 comparisons----source
1p1f_complexComplex arithmetic: the Mandelbrot iteration z = z * z + c on a grid of 70 by 40 points, up to 100 iterations each----source
1p1g_datesDate arithmetic: for 40,000 consecutive days the year, month, day, weekday and ISO week, add_months and a difference of days----source
1p1h_time_formattime.format and time.parse: 20,000 dates written as dd/MM/yyyy and read back, 20,000 instants written as ISO text with milliseconds----source
1p1i_zone_offsetszone.offset for 60,000 instants (1900 to 2100) in three zones: Europe/Bucharest, America/New_York and Australia/Lord_Howe----source
1p1j_datetimetime.at_zone and the wall-clock fields: 60,000 instants (one every 1,000 seconds from 2020) seen in America/New_York, with the hour, the day, the offset, and time.make for every 20th----source
1p1k_zone_densezone.offset for 20,000 consecutive seconds from 2024-03-31T00:00:00Z (the daylight change of Europe/Bucharest falls inside) in three zones: Europe/Bucharest, America/New_York and Australia/Lord_Howe----source
2p2a_aspects5,000 apply of an aspect with two inputs and one output (a new scope and a new boot for each call)18 ms57 ms0.3x-source
2p2b_closuresa closure called 50,000 times, a lambda called 50,000 times, a function that makes closures 2,000 times68 ms66 ms1.0x-source
2p2c_procedures30,000 calls of a procedure with @ parameters, a function with defaults and a vararg procedure80 ms67 ms1.2x-source
3p3a_modules50,000 calls of module functions (mathx.square, mathx.clamp) and 50,000 reads of a module constant162 ms74 ms2.2x-source
3p3b_objects5,000 objects of a class and of its subclass, 50,000 method calls, 20,000 extension method calls98 ms61 ms1.6x-source
3p3c_module_state50,000 calls of a module procedure that changes private state and 50,000 reads of it62 ms68 ms0.9x-source
4p4a_parallel_sum5 rounds of a parallel group that sums 200,000 integers in 4 parts (split, start, inputs copied by value)194 ms156 ms1.2x-source
4p4b_channel50,000 messages from a producer through 2 workers to a collector (two channels of capacity 100, back-pressure)95 ms353 ms0.3x-source
4p4c_groups250 parallel groups of 4 started aspects each (a task, a thread and an output buffer per start)242 ms386 ms0.6x-source
4p4d_tasks50 jobs that spawn 20 async procedures each and wait for them at done (the tasks of a job share one core)218 ms313 ms0.7x-source
4p4e_garbage200,000 iterations that each build a string and a list and drop them; watch the peak memory181 ms186 ms1.0x-source
5p5a_sql_function20,000 rows made in SQL, then a query that calls a sql function on each row, three times (60,000 calls)131 ms240 ms0.5x-source
6p6a_evedb_store1,000,000 rows made by DuckDB, read through evedb:// into a Memory table of four columns, then one sum826 ms---source
6p6b_evedb_load200,000 rows read into a Memory table, then loaded into a new evedb table as column batches, and counted337 ms---source
6p6c_pg_records100,000 rows read from evedb as records through postgres://, and a loop that adds one field of each229 ms---source
6p6d_olap_groupby1,000,000 rows in evedb, then ten group-by queries over all of them (sum and count by region)625 ms---source
6p6e_http_requests300 requests (GET with a path parameter, GET with a query, POST with a body), each on its own connection449 ms986 ms0.5x-source

History

The total of the median times of the benchmarks of the level, for every saved run, newest first. One table for each level; compare only runs of the same build on the same machine.

Level 1

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a9248 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb138 ms

Level 2

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a9165 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb91 ms

Level 3

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a9322 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb141 ms

Level 4

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a9930 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb550 ms

Level 5

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a9131 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb80 ms

Level 6

DateBuildVersionCommitTotal
2026-10-21 21:45ReleaseSafe0.0.843003a92467 ms
2026-10-19 17:49ReleaseSafe0.0.7b3019cb2297 ms