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.
| Code | Test | What it checks | Source |
|---|---|---|---|
| s01 | s01_topology | Topology. The shape of a program: primary aspect, process, functions, procedures, regions. | s01_topology.eve |
| s02 | s02_logic | Logic. The truth values and their operators; an error here is absurd and obvious. | s02_logic.eve |
| s03 | s03_numeric | Numbers. Zero, one, the extremes of the types, the operators and the literals. | s03_numeric.eve |
| s04 | s04_string | Strings. The empty string, concatenation, comparison, escapes and placeholders. | s04_string.eve |
| s05 | s05_collection | Collections. The empty ones, zero values, one element, indexes from 1, literals. | s05_collection.eve |
| s06 | s06_variables | Variables. new, set and let; constants; sharing and copying; scopes. | s06_variables.eve |
| s07 | s07_constants | Constants. set declares a value that never changes: typed or not, global or local. | s07_constants.eve |
| s08 | s08_constant_assign | A constant can't be changed. Assigning it is a compile error and nothing runs. | s08_constant_assign.eve |
| s09 | s09_operators | Operators. Precedence, compound forms, list operators, ranges, membership. | s09_operators.eve |
| s10 | s10_control | Control flow. if, while, loop, for, match, break, skip, labels, the if suffix. | s10_control.eve |
| s11 | s11_subprograms | Subprograms. Functions, procedures, arguments, recursion, lambdas, closures. | s11_subprograms.eve |
| s12 | s12_errors | Errors. raise and recover, jobs with resume, error codes, defer, exit, over, finalize. | s12_errors.eve |
| s13 | s13_types | Types. type(), is, conversions, optional values, ordinals, variants. | s13_types.eve |
| s14 | s14_objects | Objects. Class, methods, visibility, inheritance, extension, comparison. | s14_objects.eve |
| s15 | s15_placeholders | Placeholders. Names, literals, expressions, formats, code points, entities, braces. | s15_placeholders.eve |
| s16 | s16_project | A project. One module, one aspect, one apply: import, life cycle order, safe and Atomic. | s16_project.eve |
| s17 | s17_tasks | Tasks. async procedures spawned in a job, an async function awaited, a job that waits for all of them. | s17_tasks.eve |
| s18 | s18_generics | Generics and traits. A generic procedure, a generic class, a trait with a required and a provided method. | s18_generics.eve |
| s19 | s19_data | Data files. Records in a Table, written as CSV and as JSON Lines, read back typed; Decimal keeps its scale. | s19_data.eve |
| s20 | s20_database | Database. SQLite of the machine: a table, typed parameters, records, a job that rolls back, a Memory table there and back. | s20_database.eve |
| s21 | s21_machine | The 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.
| Level | Benchmark | What it measures | Eve | Python | Eve / Python | Debug | Source |
|---|---|---|---|---|---|---|---|
| 1 | p1a_arith | integer and real arithmetic, for and while loops, variables | 108 ms | 95 ms | 1.1x | - | source |
| 1 | p1b_calls | function calls, recursion (fib(20)), parameter binding | 86 ms | 54 ms | 1.6x | - | source |
| 1 | p1c_collections | list appends and iteration (60,000 elements), DataMap and DataSet | 30 ms | 60 ms | 0.5x | - | source |
| 1 | p1d_strings | string appends, placeholders, regular expression matches | 24 ms | 104 ms | 0.2x | - | source |
| 1 | p1e_rational | Rational arithmetic: a telescoping sum of 200,000 fractions, 20,000 runs of Newton's square root of 2 in fractions, 100,000 comparisons | - | - | - | - | source |
| 1 | p1f_complex | Complex arithmetic: the Mandelbrot iteration z = z * z + c on a grid of 70 by 40 points, up to 100 iterations each | - | - | - | - | source |
| 1 | p1g_dates | Date arithmetic: for 40,000 consecutive days the year, month, day, weekday and ISO week, add_months and a difference of days | - | - | - | - | source |
| 1 | p1h_time_format | time.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 |
| 1 | p1i_zone_offsets | zone.offset for 60,000 instants (1900 to 2100) in three zones: Europe/Bucharest, America/New_York and Australia/Lord_Howe | - | - | - | - | source |
| 1 | p1j_datetime | time.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 |
| 1 | p1k_zone_dense | zone.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 |
| 2 | p2a_aspects | 5,000 apply of an aspect with two inputs and one output (a new scope and a new boot for each call) | 18 ms | 57 ms | 0.3x | - | source |
| 2 | p2b_closures | a closure called 50,000 times, a lambda called 50,000 times, a function that makes closures 2,000 times | 68 ms | 66 ms | 1.0x | - | source |
| 2 | p2c_procedures | 30,000 calls of a procedure with @ parameters, a function with defaults and a vararg procedure | 80 ms | 67 ms | 1.2x | - | source |
| 3 | p3a_modules | 50,000 calls of module functions (mathx.square, mathx.clamp) and 50,000 reads of a module constant | 162 ms | 74 ms | 2.2x | - | source |
| 3 | p3b_objects | 5,000 objects of a class and of its subclass, 50,000 method calls, 20,000 extension method calls | 98 ms | 61 ms | 1.6x | - | source |
| 3 | p3c_module_state | 50,000 calls of a module procedure that changes private state and 50,000 reads of it | 62 ms | 68 ms | 0.9x | - | source |
| 4 | p4a_parallel_sum | 5 rounds of a parallel group that sums 200,000 integers in 4 parts (split, start, inputs copied by value) | 194 ms | 156 ms | 1.2x | - | source |
| 4 | p4b_channel | 50,000 messages from a producer through 2 workers to a collector (two channels of capacity 100, back-pressure) | 95 ms | 353 ms | 0.3x | - | source |
| 4 | p4c_groups | 250 parallel groups of 4 started aspects each (a task, a thread and an output buffer per start) | 242 ms | 386 ms | 0.6x | - | source |
| 4 | p4d_tasks | 50 jobs that spawn 20 async procedures each and wait for them at done (the tasks of a job share one core) | 218 ms | 313 ms | 0.7x | - | source |
| 4 | p4e_garbage | 200,000 iterations that each build a string and a list and drop them; watch the peak memory | 181 ms | 186 ms | 1.0x | - | source |
| 5 | p5a_sql_function | 20,000 rows made in SQL, then a query that calls a sql function on each row, three times (60,000 calls) | 131 ms | 240 ms | 0.5x | - | source |
| 6 | p6a_evedb_store | 1,000,000 rows made by DuckDB, read through evedb:// into a Memory table of four columns, then one sum | 826 ms | - | - | - | source |
| 6 | p6b_evedb_load | 200,000 rows read into a Memory table, then loaded into a new evedb table as column batches, and counted | 337 ms | - | - | - | source |
| 6 | p6c_pg_records | 100,000 rows read from evedb as records through postgres://, and a loop that adds one field of each | 229 ms | - | - | - | source |
| 6 | p6d_olap_groupby | 1,000,000 rows in evedb, then ten group-by queries over all of them (sum and count by region) | 625 ms | - | - | - | source |
| 6 | p6e_http_requests | 300 requests (GET with a path parameter, GET with a query, POST with a body), each on its own connection | 449 ms | 986 ms | 0.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
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 248 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 138 ms |
Level 2
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 165 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 91 ms |
Level 3
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 322 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 141 ms |
Level 4
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 930 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 550 ms |
Level 5
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 131 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 80 ms |
Level 6
| Date | Build | Version | Commit | Total |
|---|---|---|---|---|
| 2026-10-21 21:45 | ReleaseSafe | 0.0.8 | 43003a9 | 2467 ms |
| 2026-10-19 17:49 | ReleaseSafe | 0.0.7 | b3019cb | 2297 ms |