Skip to content

Add Benchmark for no translation  #2

Description

@sgf

The test is too simplistic. After all, the scenarios in which transactions are applicable are a minority

Single-process multi-threaded testing is also important.

and litedb also has transactions in V5

using (var db = new LiteDatabase("mydb.db"))
{
   db.BeginTrans();
   try
   {
       // do things
       db.Commit();
   }
   catch (Exception)
   {
       db.Rollback();
       throw;
   }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions