Path: redb/redb.Examples/Models/ExampleRunProps.cs
Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb
Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Examples/Models/ExampleRunProps.cs
----
namespace redb.Examples.Models;
///
/// One timed pass of one example in one run, kept in the results database as a child of the example's
/// object. holds only the latest
/// pass per platform; these objects keep every run, so the times can be laid out over runs.
///
///
/// No [RedbScheme] attribute on purpose: start-up syncs every attributed scheme into the database it
/// opens, and this scheme belongs to the results database only. It is synced there explicitly
/// () and lives under its full type name.
///
public class ExampleRunProps
{
/// Example id without the twin suffix: E015 for both E015 and E015_ef.
public string ExampleId { get; set; } = string.Empty;
/// "redb" or "ef".
public string Engine { get; set; } = string.Empty;
/// "Pro" or "Free" for redb; null for EF Core.
public string? Edition { get; set; }
/// "postgres", "sqlite" or "mssql".
public string Provider { get; set; } = string.Empty;
/// The Pro planner (EnablePvtPrefilter) of the run; null for redb Free and EF Core.
public bool? Planner { get; set; }
/// "first", "repeat" or "cache".
public string Pass { get; set; } = string.Empty;
/// The platform key of the pass, the key it has in .
public string Platform { get; set; } = string.Empty;
/// The example's measured time in milliseconds; null when the engine cannot do the example.
public long? TimeMs { get; set; }
/// Rows (objects) the example returned or processed, when the example reports it.
public int? Count { get; set; }
/// Database round trips the example made.
public int? Queries { get; set; }
/// "OK", "N/A: reason" or the error.
public string? Status { get; set; }
/// Start of the run (UTC), the same for every pass of the run.
public DateTimeOffset RunAt { get; set; }
/// Id of the run, the same for every pass of the run.
public Guid RunId { get; set; }
/// Version of the engine: redb for redb passes, EF Core for EF passes.
public string? Version { get; set; }
}