pmset -g assertions sudo powermetrics --show-process-energy sudo pmset schedule cancelall pmset -g log | grep "Wake Requests"
suggestions:
https://twitter.com/jckwhet/status/1018256785839394816?lang=en
pmset -g assertions sudo powermetrics --show-process-energy sudo pmset schedule cancelall pmset -g log | grep "Wake Requests"
suggestions:
https://twitter.com/jckwhet/status/1018256785839394816?lang=en
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"github.com/redis/go-redis/v9" | |
"golang.org/x/sync/errgroup" | |
"math/rand" | |
"net" |
package main | |
import ( | |
"cloud.google.com/go/storage" | |
"context" | |
"fmt" | |
"math/rand" | |
"os" | |
"os/signal" | |
"sync" |
➜ sqlitetest time ./main | |
=== SQLite Load Testing Program === | |
Database path: ./people.db | |
=== DATABASE ALREADY CONTAINS 3230001 RECORDS === | |
Proceeding with queries... | |
=== QUERY BY SSN TIMING === | |
Running 1000 random SSN queries... | |
Queried 100/1000 SSNs (23728.07 queries/sec, 10.00% complete) |