million

command
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 6 Imported by: ? 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

Ten Million Rows

This example adds 10 million rows to a collection, runs and measures a few different queries and transaction around it.

Example output

running insert of 10000000 rows...
-> insert took 7.6464726s

running snapshot of 10000000 rows...
-> snapshot took 1.35868707s

running full scan of age >= 30...
-> result = 5100000
-> full scan took 27.011615ms

running full scan of class == "rogue"...
-> result = 3580000
-> full scan took 45.053185ms

running indexed query of human mages...
-> result = 680000
-> indexed query took 309.74µs

running indexed query of human female mages...
-> result = 320000
-> indexed query took 385.606µs

running update of balance of everyone...
-> updated 10000000 rows
-> update took 108.09756ms

running update of age of mages...
-> updated 3020000 rows
-> update took 41.731165ms

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