Skip to content

Commit

Permalink
Add Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
luoluoyuyu committed Oct 17, 2023
1 parent bcd94e1 commit 2fc1bf1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ Based on LSM tree-structured database with up to 100,000 data writes per second.
openDB.put(key, value, columnFamilyHandle);
columnFamilyHandle=openDB.getColumnFamilyHandle("luoluoyuyu").date;
```

benchmark
```
Benchmark Mode Cnt Score Error Units
OpenDBBenchmark.addKeyValue thrpt 134061.544 ops/s
OpenDBBenchmark.getKeyValue thrpt 512352.366 ops/s
```
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class OpenDBBenchmark {

@Setup
public void stepUp(){
openDB = OpenDBImp.open(new Options(), "D:/data/git/jDB/opendb-core/src/test/resources/data/");
openDB = OpenDBImp.open(new Options(), "opendb-core/src/test/resources/data/");
ColumnFamilyDescriptor columnFamilyDescriptor = new ColumnFamilyDescriptor();
columnFamilyDescriptor.setName("luoluoyuyu");
columnFamilyDescriptor.setKeyType(KeyType.intKey);
Expand Down

0 comments on commit 2fc1bf1

Please sign in to comment.