swanchain / ubi-benchmark

A ubi benchmark program to test the computing provider's resource
0 stars 0 forks source link

ubi-bench #2

Open ThomasBlock opened 8 months ago

ThomasBlock commented 8 months ago

How is ubi-bench intended to work? i could compile it but don't know how to proceed.

./ubi-bench help
2024-01-30T11:44:09.571+0100    INFO    ubi-bench   ubi-bench/main.go:92    Starting ubi-bench
NAME:
   ubi-bench - Benchmark performance of ubi on your hardware

USAGE:
   ubi-bench [global options] command [command options] [arguments...]

VERSION:
   v0.0.1

COMMANDS:
   c2       execute c2 task for a proof computation
   verify   Verify a proof computation
   help, h  Shows a list of commands or help for one command

is this the right config? HUB_URL ="https://ubi-task.swanchain.io/v1"

What input.json do we need?

USAGE:
   ubi-bench c2 [command options] [input.json]
Normalnoise commented 8 months ago

ubi-bench is used to build the UBI-task image, we will pre-build it to swan's docker hub, CP has helped you pull and use it.

you do not need to build it. @ThomasBlock