https://authzed.com logo
#spicedb
Title
# spicedb
l

liammoch

05/05/2022, 1:09 AM
Copy code
root@887bcf1be58c:~/spicedb# export GOMAXPROCS=1
root@887bcf1be58c:~/spicedb# go run . -r 10000 -p
&{0xc0002b4500 0xc0002b4510 0xc0002b4520}
Time for sending requests 2.89180636s
Time for 150000 checks in parallel is 24.021179661s
root@887bcf1be58c:~/spicedb#
root@887bcf1be58c:~/spicedb# export GOMAXPROCS=24
root@887bcf1be58c:~/spicedb# go run . -r 10000 -p
&{0xc00037e4d0 0xc00037e4e0 0xc00037e4f0}
Time for sending requests 697.027861ms
Time for 150000 checks in parallel is 22.547278848s
root@887bcf1be58c:~/spicedb#
root@887bcf1be58c:~/spicedb# export GOMAXPROCS=96
root@887bcf1be58c:~/spicedb# go run . -r 10000 -p
&{0xc000480120 0xc000480130 0xc000480140}
Time for sending requests 828.719964ms
Time for 150000 checks in parallel is 23.099582482s