Skip to content

Instantly share code, notes, and snippets.

@vivekpatani
vivekpatani / 3.4-benchmark.txt
Created May 31, 2022 22:52
etcd3.4 - Benchmark for Namespace Quota
################
PUT
################
################
Run #1
################
Summary:
Total: 67.9173 secs.
Slowest: 0.0385 secs.
@vivekpatani
vivekpatani / 3.5-benchmark.txt
Created May 31, 2022 22:52
etcd3.5 - Benchmark for Namespace Quota
################
PUT
################
################
Run #1
################
Summary:
Total: 62.2255 secs.
Slowest: 0.0467 secs.
@vivekpatani
vivekpatani / benchmark.txt
Created November 17, 2021 03:47
benchmarks for the NamespaceQuota
###############################################
Base Line #1
###############################################
❯ ./benchmark put
10000 / 10000 Boooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo! 100.00% 1m5s
Summary:
Total: 65.5507 secs.
Slowest: 0.0357 secs.
Fastest: 0.0003 secs.
import java.util.HashMap;
import java.util.Map;
/*
Objective
Today, we're learning about Key-Value pair mappings using a Map or Dictionary data structure. Check out the Tutorial tab for learning materials and an instructional video!
Task
Given names and phone numbers, assemble a phone book that maps friends' names to their respective phone numbers. You will then be given an unknown number of names to query your phone book for. For each queried, print the associated entry from your phone book on a new line in the form name=phoneNumber; if an entry for is not found, print Not found instead.