Skip to content

By using benchmark.js, create the benchmark testing on Cloud Spanner

Notifications You must be signed in to change notification settings

cloudymoma/node-spanner-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-spanner-benchmark

By using benchmark.js, create the benchmark testing on Cloud Spanner.

Create the Node.js enviroment

You could choose nvm to install the Node.js.

Codes structure

  • driverBench
    • common.js -> provides project/instance/database/
    • index0214.js -> main program
    • index-stale.js -> main program
  • package.json
  • spannerBench
    • benchmark.js
    • constants.js -> includes benchmark parameters such as execution time
    • index.js
    • runner.js -> contains time measure functions
    • suite.js
    • util.js

Run the benchmark

  • Add your workload to the main program as a task;
  • Group mulitple tasks as a test suite.
  • Execute the benchmark

About

By using benchmark.js, create the benchmark testing on Cloud Spanner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published