mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
add benchmarking
This commit is contained in:
parent
3d837a46ed
commit
3fcc37fdf1
22
XX.md
Normal file
22
XX.md
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
NIP-XX
|
||||||
|
======
|
||||||
|
|
||||||
|
Benchmarking
|
||||||
|
------------
|
||||||
|
|
||||||
|
`draft` `optional`
|
||||||
|
|
||||||
|
This NIP is a specification for benchmarking relay servers online. The specification defines a kind `XXXXX` that is never displayed to the client. Benchmarking software must specify the name and version in the tags in the following format.
|
||||||
|
|
||||||
|
```
|
||||||
|
"kind": xxxxx,
|
||||||
|
"client": "nostr-benchmark-v0.0.2", "31990:app1-pubkey:<d-identifier>", "wss://relay1"]
|
||||||
|
```
|
||||||
|
|
||||||
|
# Relay server
|
||||||
|
|
||||||
|
Normally, the benchmarking software SHOULD delete the posted event after the benchmark has completed. Relay server CAN delete them automatically or one's own thinking.
|
||||||
|
|
||||||
|
# Client
|
||||||
|
|
||||||
|
Clients that are not interested in the data used in the benchmark SHOULD NOT receive this kind.
|
Loading…
Reference in New Issue
Block a user