Git Product home page Git Product logo

Comments (2)

cirocosta avatar cirocosta commented on July 17, 2024

implemented a pretty() for pretty much every command, except those that don't make a lot of sense (like for getting block templates).

e.g.

$ monero daemon rpc-access-tracking
RPC                             COUNT   TIME SPENT SERVING      CREDITS
getblockhash                    1       10.157µs                0
get_height                      1       26.892µs                0
rpc_access_tracking             7       52.88µs                 0
get_last_block_header           2       78.08µs                 2
hard_fork_info                  8       83.389µs                8
get_transaction_pool_stats      8       577.286µs               8
get_connections                 1       671.059µs               0
get_transactions                4       1.143642ms              4
get_info                        1       1.304111ms              1
get_public_nodes                5       15.813432ms             0
get_peer_list                   15      52.716227ms             0
sync_info                       19      54.221358ms             38
get_transaction_pool            6       65.775668ms             116
get_coinbase_tx_sum             1       1m8.209161023s          4804044

from go-monero.

cirocosta avatar cirocosta commented on July 17, 2024

ps.: definitely need some better support for displaying the proper units of certain fields, like

$ Bytes Max:                              2734
Bytes Med:                              1457
Bytes Min:                              1452
Bytes Total:                            45201
Fee Total:                              978930000
Histogram 98pct:                        0
Txns in Pool for Longer than 10m:       0
Double Spends:                          0
Failing Transactions:                   0
Not Relayed:                            0
Oldest:                                 4 minutes ago
Txns Total:                             27

BYTES                                   TXNS
2734                                    1
1456                                    1
5390                                    3
4879                                    3
3418                                    2
5834                                    4
12253                                   7
1452                                    1
2907                                    2
4878                                    3

but, I'll improve those as we go.

from go-monero.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.