perf_direct

command
v1.5.2-macos.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

added a direct engine latency benchmark that bypasses Bolt/HTTP entirely.

New test

~/src/NornicDB/scripts/perf_direct/main.go

How to run

Direct Badger (disk writes, no protocol overhead):

go run ./scripts/perf_direct --clean --iterations=100 --mode=badger

Async engine (shows cache‑first writes + explicit flush timing):

go run ./scripts/perf_direct --clean --iterations=100 --mode=async

If you want worst‑case disk latency (fsync on every write):

go run ./scripts/perf_direct --clean --iterations=100 --mode=badger --sync-writes

What it measures

  • Single node create
  • Batch node create (BulkCreateNodes)
  • Node update
  • Relationship create
  • (Async mode only) flush duration

I also updated the plan doc to reference this new direct‑engine benchmark command.

Want me to add a matching shell wrapper (like the Bolt/HTTP scripts) or collect results into a CSV?

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL