Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperqueue Dashboard skeleton #98

Merged
merged 1 commit into from Oct 6, 2021

Conversation

vyomkeshj
Copy link
Contributor

Initial commits to start the discussion :)

Copy link
Collaborator

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code doesn't compile, so I can't try the dashboard.

src/client/commands/dashboard/top.rs Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Jul 28, 2021

🤠 Cargo bloat for toolchain stable-x86_64-unknown-linux-gnu 🤠

@@ Size breakdown @@

- Size       10.38 MB
+ Size       11.45 MB  +1.07 MB
- Text Size  2.51 MB
+ Text Size  3.24 MB   +749.34 KB
Size difference per crate

Note: The numbers below are not 100% accurate, use them as a rough estimate.

@@ Breakdown per crate @@

- std                   664.59 KB
+ std                   866.59 KB
- hyperqueue            128.75 KB
+ hyperqueue            434.71 KB
- clap                  217.22 KB
+ clap                  266.25 KB
- tako                  163.66 KB
+ tako                  208.76 KB
- hq                    212.29 KB
+ hq                    175.11 KB
- tokio                 111.21 KB
+ tokio                 159.38 KB
- hashbrown             65.57 KB
+ hashbrown             96.51 KB
- chrono                36.72 KB
+ chrono                43.94 KB
- serde_json            13.23 KB
+ serde_json            43.9 KB
+ tui                   30.19 KB
- serde                 18.49 KB
+ serde                 25.28 KB
+ cassowary             17.76 KB
- bincode               6.64 KB
+ bincode               17.42 KB
+ termion               12.52 KB
- anyhow                6.97 KB
+ anyhow                11.25 KB
- rmp_serde             46.67 KB
+ rmp_serde             11.08 KB
+ psutil                9.34 KB
+ unicode_segmentation  3.04 KB
+ textwrap              1.81 KB
+ smawk                 1.75 KB
- rmp                   1.2 KB
- ctrlc                 845 B
Dependency tree
@@ Dependency tree @@
- Count: 302
+ Count: 337

- ├─ anyhow v1.0.41
+ ├─ anyhow v1.0.44
  ├─ atty v0.2.14
- │  └─ libc v0.2.97
+ │  └─ libc v0.2.103
  ├─ bincode v1.3.3
- │  └─ serde v1.0.126
- │     └─ serde_derive v1.0.126 (proc-macro)
- │        ├─ proc-macro2 v1.0.27
+ │  └─ serde v1.0.130
+ │     └─ serde_derive v1.0.130 (proc-macro)
+ │        ├─ proc-macro2 v1.0.29
  │        │  └─ unicode-xid v0.2.2
  │        ├─ quote v1.0.9
- │        │  └─ proc-macro2 v1.0.27 
- │        └─ syn v1.0.73
- │           ├─ proc-macro2 v1.0.27 
+ │        │  └─ proc-macro2 v1.0.29 
+ │        └─ syn v1.0.77
+ │           ├─ proc-macro2 v1.0.29 
  │           ├─ quote v1.0.9 
  │           └─ unicode-xid v0.2.2
  ├─ bstr v0.2.15
  │  ├─ lazy_static v1.4.0
  │  ├─ memchr v2.3.4
  │  ├─ regex-automata v0.1.10
  │  │  └─ regex-syntax v0.6.25
- │  └─ serde v1.0.126 
- ├─ bytes v1.0.1
+ │  └─ serde v1.0.130 
+ ├─ byteorder v1.4.3
+ ├─ bytes v1.1.0
  ├─ chrono v0.4.19
- │  ├─ libc v0.2.97
+ │  ├─ libc v0.2.103
  │  ├─ num-integer v0.1.44
  │  │  ├─ num-traits v0.2.14
  │  │  │  └─ autocfg v1.0.1
  │  │  └─ autocfg v1.0.1
  │  ├─ num-traits v0.2.14 
- │  ├─ serde v1.0.126 
+ │  ├─ serde v1.0.130 
  │  └─ time v0.1.44
- │     └─ libc v0.2.97
- ├─ clap v3.0.0-beta.2
+ │     └─ libc v0.2.103
+ ├─ clap v3.0.0-beta.4
  │  ├─ atty v0.2.14 
- │  ├─ bitflags v1.2.1
- │  ├─ clap_derive v3.0.0-beta.2 (proc-macro)
+ │  ├─ bitflags v1.3.2
+ │  ├─ clap_derive v3.0.0-beta.4 (proc-macro)
  │  │  ├─ heck v0.3.3
- │  │  │  └─ unicode-segmentation v1.7.1
+ │  │  │  └─ unicode-segmentation v1.8.0
  │  │  ├─ proc-macro-error v1.0.4
  │  │  │  ├─ proc-macro-error-attr v1.0.4 (proc-macro)
- │  │  │  │  ├─ proc-macro2 v1.0.27 
+ │  │  │  │  ├─ proc-macro2 v1.0.29 
  │  │  │  │  ├─ quote v1.0.9 
  │  │  │  │  └─ version_check v0.9.3
- │  │  │  ├─ proc-macro2 v1.0.27 
+ │  │  │  ├─ proc-macro2 v1.0.29 
  │  │  │  ├─ quote v1.0.9 
- │  │  │  ├─ syn v1.0.73 
+ │  │  │  ├─ syn v1.0.77 
  │  │  │  └─ version_check v0.9.3
- │  │  ├─ proc-macro2 v1.0.27 
+ │  │  ├─ proc-macro2 v1.0.29 
  │  │  ├─ quote v1.0.9 
- │  │  └─ syn v1.0.73 
- │  ├─ indexmap v1.6.2
- │  │  ├─ hashbrown v0.9.1
+ │  │  └─ syn v1.0.77 
+ │  ├─ indexmap v1.7.0
+ │  │  ├─ hashbrown v0.11.2
+ │  │  │  ├─ ahash v0.7.4
+ │  │  │  │  ├─ getrandom v0.2.3
+ │  │  │  │  │  ├─ cfg-if v1.0.0
+ │  │  │  │  │  └─ libc v0.2.103
+ │  │  │  │  ├─ once_cell v1.8.0
+ │  │  │  │  └─ version_check v0.9.3
+ │  │  │  └─ serde v1.0.130 
  │  │  └─ autocfg v1.0.1
  │  ├─ lazy_static v1.4.0
- │  ├─ os_str_bytes v2.4.0
+ │  ├─ os_str_bytes v3.1.0
  │  ├─ strsim v0.10.0
  │  ├─ termcolor v1.1.2
- │  ├─ textwrap v0.12.1
- │  │  └─ unicode-width v0.1.8
- │  ├─ unicode-width v0.1.8
+ │  ├─ textwrap v0.14.2
+ │  │  ├─ smawk v0.3.1
+ │  │  ├─ unicode-linebreak v0.1.2
+ │  │  │  └─ regex v1.4.6
+ │  │  │     ├─ aho-corasick v0.7.15
+ │  │  │     │  └─ memchr v2.3.4
+ │  │  │     ├─ memchr v2.3.4
+ │  │  │     └─ regex-syntax v0.6.25
+ │  │  └─ unicode-width v0.1.9
  │  └─ vec_map v0.8.2
  ├─ cli-table v0.4.6
- │  ├─ cli-table-derive v0.4.4 (proc-macro)
- │  │  ├─ proc-macro2 v1.0.27 
- │  │  ├─ quote v1.0.9 
- │  │  └─ syn v1.0.73 
- │  ├─ csv v1.1.6
- │  │  ├─ bstr v0.2.15 
- │  │  ├─ csv-core v0.1.10
- │  │  │  └─ memchr v2.3.4
- │  │  ├─ itoa v0.4.7
- │  │  ├─ ryu v1.0.5
- │  │  └─ serde v1.0.126 
  │  ├─ termcolor v1.1.2
- │  └─ unicode-width v0.1.8
+ │  └─ unicode-width v0.1.9
  ├─ colored v2.0.0
  │  ├─ atty v0.2.14 
  │  └─ lazy_static v1.4.0
- ├─ ctrlc v3.1.9
- │  └─ nix v0.20.0
- │     ├─ bitflags v1.2.1
- │     ├─ cfg-if v1.0.0
- │     └─ libc v0.2.97
+ ├─ const_format v0.2.21
+ │  └─ const_format_proc_macros v0.2.21 (proc-macro)
+ │     ├─ proc-macro2 v1.0.29 
+ │     ├─ quote v1.0.9 
+ │     └─ unicode-xid v0.2.2
  ├─ dirs v3.0.2
  │  └─ dirs-sys v0.3.6
- │     └─ libc v0.2.97
- ├─ env_logger v0.8.4
+ │     └─ libc v0.2.103
+ ├─ env_logger v0.9.0
  │  ├─ atty v0.2.14 
  │  ├─ humantime v2.1.0
  │  ├─ log v0.4.14
  │  │  └─ cfg-if v1.0.0
- │  ├─ regex v1.4.6
- │  │  ├─ aho-corasick v0.7.15
- │  │  │  └─ memchr v2.3.4
- │  │  ├─ memchr v2.3.4
- │  │  └─ regex-syntax v0.6.25
+ │  ├─ regex v1.4.6 
  │  └─ termcolor v1.1.2
- ├─ futures v0.3.15
- │  ├─ futures-channel v0.3.15
- │  │  ├─ futures-core v0.3.15
- │  │  └─ futures-sink v0.3.15
- │  ├─ futures-core v0.3.15
- │  ├─ futures-executor v0.3.15
- │  │  ├─ futures-core v0.3.15
- │  │  ├─ futures-task v0.3.15
- │  │  └─ futures-util v0.3.15
- │  │     ├─ futures-channel v0.3.15 
- │  │     ├─ futures-core v0.3.15
- │  │     ├─ futures-io v0.3.15
- │  │     ├─ futures-macro v0.3.15 (proc-macro)
+ ├─ futures v0.3.17
+ │  ├─ futures-channel v0.3.17
+ │  │  ├─ futures-core v0.3.17
+ │  │  └─ futures-sink v0.3.17
+ │  ├─ futures-core v0.3.17
+ │  ├─ futures-executor v0.3.17
+ │  │  ├─ futures-core v0.3.17
+ │  │  ├─ futures-task v0.3.17
+ │  │  └─ futures-util v0.3.17
+ │  │     ├─ futures-channel v0.3.17 
+ │  │     ├─ futures-core v0.3.17
+ │  │     ├─ futures-io v0.3.17
+ │  │     ├─ futures-macro v0.3.17 (proc-macro)
  │  │     │  ├─ proc-macro-hack v0.5.19 (proc-macro)
- │  │     │  ├─ proc-macro2 v1.0.27 
+ │  │     │  ├─ proc-macro2 v1.0.29 
  │  │     │  ├─ quote v1.0.9 
- │  │     │  ├─ syn v1.0.73 
+ │  │     │  ├─ syn v1.0.77 
  │  │     │  └─ autocfg v1.0.1
- │  │     ├─ futures-sink v0.3.15
- │  │     ├─ futures-task v0.3.15
+ │  │     ├─ futures-sink v0.3.17
+ │  │     ├─ futures-task v0.3.17
  │  │     ├─ memchr v2.3.4
- │  │     ├─ pin-project-lite v0.2.6
+ │  │     ├─ pin-project-lite v0.2.7
  │  │     ├─ pin-utils v0.1.0
  │  │     ├─ proc-macro-hack v0.5.19 (proc-macro)
  │  │     ├─ proc-macro-nested v0.1.7
- │  │     ├─ slab v0.4.3
+ │  │     ├─ slab v0.4.4
  │  │     └─ autocfg v1.0.1
- │  ├─ futures-io v0.3.15
- │  ├─ futures-sink v0.3.15
- │  ├─ futures-task v0.3.15
- │  └─ futures-util v0.3.15 
+ │  ├─ futures-io v0.3.17
+ │  ├─ futures-sink v0.3.17
+ │  ├─ futures-task v0.3.17
+ │  └─ futures-util v0.3.17 
  ├─ gethostname v0.2.1
- │  └─ libc v0.2.97
- ├─ hashbrown v0.11.2
- │  ├─ ahash v0.7.4
- │  │  ├─ getrandom v0.2.3
- │  │  │  ├─ cfg-if v1.0.0
- │  │  │  └─ libc v0.2.97
- │  │  ├─ once_cell v1.8.0
- │  │  └─ version_check v0.9.3
- │  └─ serde v1.0.126 
+ │  └─ libc v0.2.103
+ ├─ hashbrown v0.11.2 
  ├─ hex v0.4.3
  ├─ humantime v2.1.0
+ ├─ indicatif v0.16.2
+ │  ├─ console v0.14.1
+ │  │  ├─ lazy_static v1.4.0
+ │  │  ├─ libc v0.2.103
+ │  │  └─ terminal_size v0.1.17
+ │  │     └─ libc v0.2.103
+ │  ├─ lazy_static v1.4.0
+ │  ├─ number_prefix v0.4.0
+ │  └─ regex v1.4.6 
  ├─ jemallocator v0.3.2
  │  ├─ jemalloc-sys v0.3.2
- │  │  ├─ libc v0.2.97
- │  │  ├─ cc v1.0.68
+ │  │  ├─ libc v0.2.103
+ │  │  ├─ cc v1.0.70
  │  │  └─ fs_extra v1.2.0
- │  └─ libc v0.2.97
+ │  └─ libc v0.2.103
  ├─ log v0.4.14 
- ├─ nom v6.2.0
+ ├─ nom v6.2.1
  │  ├─ bitvec v0.19.5
  │  │  ├─ funty v1.1.0
  │  │  ├─ radium v0.5.3
  │  │  ├─ tap v1.0.1
  │  │  └─ wyz v0.2.0
  │  ├─ funty v1.1.0
  │  ├─ lexical-core v0.7.6
  │  │  ├─ arrayvec v0.5.2
- │  │  ├─ bitflags v1.2.1
+ │  │  ├─ bitflags v1.3.2
  │  │  ├─ cfg-if v1.0.0
  │  │  ├─ ryu v1.0.5
  │  │  └─ static_assertions v1.1.0
  │  ├─ memchr v2.3.4
  │  └─ version_check v0.9.3
  ├─ num_cpus v1.13.0
- │  └─ libc v0.2.97
+ │  └─ libc v0.2.103
  ├─ orion v0.16.0
  │  ├─ ct-codecs v1.1.1
  │  ├─ getrandom v0.2.3 
- │  ├─ subtle v2.4.0
- │  └─ zeroize v1.3.0
+ │  ├─ subtle v2.4.1
+ │  └─ zeroize v1.4.2
  ├─ rmp-serde v0.15.5
  │  ├─ byteorder v1.4.3
  │  ├─ rmp v0.8.10
  │  │  ├─ byteorder v1.4.3
  │  │  └─ num-traits v0.2.14 
- │  └─ serde v1.0.126 
+ │  └─ serde v1.0.130 
  ├─ rmpv v0.4.7
  │  ├─ num-traits v0.2.14 
  │  ├─ rmp v0.8.10 
- │  ├─ serde v1.0.126 
+ │  ├─ serde v1.0.130 
  │  └─ serde_bytes v0.11.5
- │     └─ serde v1.0.126 
- ├─ serde v1.0.126 
+ │     └─ serde v1.0.130 
+ ├─ serde v1.0.130 
  ├─ serde-tuple-vec-map v1.0.0
- │  └─ serde v1.0.126 
+ │  └─ serde v1.0.130 
  ├─ serde_bytes v0.11.5 
- ├─ serde_json v1.0.64
- │  ├─ itoa v0.4.7
+ ├─ serde_json v1.0.68
+ │  ├─ itoa v0.4.8
  │  ├─ ryu v1.0.5
- │  └─ serde v1.0.126 
- ├─ tako v0.1.0 (https://github.com/spirali/tako?branch=main#e07fccf1)
+ │  └─ serde v1.0.130 
+ ├─ smallvec v1.7.0
+ │  └─ serde v1.0.130 
+ ├─ tako v0.1.0 (https://github.com/spirali/tako?branch=main#bc47899e)
  │  ├─ bincode v1.3.3 
- │  ├─ bitflags v1.2.1
+ │  ├─ bitflags v1.3.2
  │  ├─ bstr v0.2.15 
  │  ├─ byteorder v1.4.3
- │  ├─ bytes v1.0.1
- │  ├─ clap v3.0.0-beta.2 
- │  ├─ ctrlc v3.1.9 
- │  ├─ env_logger v0.8.4 
- │  ├─ futures v0.3.15 
+ │  ├─ bytes v1.1.0
+ │  ├─ clap v3.0.0-beta.4 
+ │  ├─ ctrlc v3.2.0
+ │  │  └─ nix v0.22.0
+ │  │     ├─ bitflags v1.3.2
+ │  │     ├─ cfg-if v1.0.0
+ │  │     ├─ libc v0.2.103
+ │  │     └─ memoffset v0.6.4
+ │  │        └─ autocfg v1.0.1
+ │  ├─ env_logger v0.9.0 
+ │  ├─ futures v0.3.17 
  │  ├─ gethostname v0.2.1 
  │  ├─ hashbrown v0.11.2 
  │  ├─ hex v0.4.3
  │  ├─ jemallocator v0.3.2 
  │  ├─ log v0.4.14 
  │  ├─ orion v0.16.0 
- │  ├─ priority-queue v1.1.1
- │  │  ├─ indexmap v1.6.2 
+ │  ├─ priority-queue v1.2.0
+ │  │  ├─ indexmap v1.7.0 
  │  │  └─ autocfg v1.0.1
+ │  ├─ psutil v3.2.1
+ │  │  ├─ cfg-if v0.1.10
+ │  │  ├─ derive_more v0.99.16 (proc-macro)
+ │  │  │  ├─ proc-macro2 v1.0.29 
+ │  │  │  ├─ quote v1.0.9 
+ │  │  │  └─ syn v1.0.77 
+ │  │  ├─ glob v0.3.0
+ │  │  ├─ nix v0.17.0
+ │  │  │  ├─ bitflags v1.3.2
+ │  │  │  ├─ cfg-if v0.1.10
+ │  │  │  ├─ libc v0.2.103
+ │  │  │  └─ void v1.0.2
+ │  │  ├─ num_cpus v1.13.0 
+ │  │  ├─ once_cell v1.8.0
+ │  │  ├─ platforms v0.2.1
+ │  │  ├─ thiserror v1.0.29
+ │  │  │  └─ thiserror-impl v1.0.29 (proc-macro)
+ │  │  │     ├─ proc-macro2 v1.0.29 
+ │  │  │     ├─ quote v1.0.9 
+ │  │  │     └─ syn v1.0.77 
+ │  │  └─ unescape v0.1.0
  │  ├─ rand v0.8.4
- │  │  ├─ libc v0.2.97
+ │  │  ├─ libc v0.2.103
  │  │  ├─ rand_chacha v0.3.1
  │  │  │  ├─ ppv-lite86 v0.2.10
  │  │  │  └─ rand_core v0.6.3
  │  │  │     └─ getrandom v0.2.3 
  │  │  └─ rand_core v0.6.3 
  │  ├─ rmp-serde v0.15.5 
  │  ├─ rmpv v0.4.7 
- │  ├─ serde v1.0.126 
+ │  ├─ serde v1.0.130 
  │  ├─ serde-tuple-vec-map v1.0.0 
  │  ├─ serde_bytes v0.11.5 
- │  ├─ serde_json v1.0.64 
- │  ├─ smallvec v1.6.1
- │  │  └─ serde v1.0.126 
+ │  ├─ serde_json v1.0.68 
+ │  ├─ smallvec v1.7.0 
  │  ├─ tempdir v0.3.7
  │  │  ├─ rand v0.4.6
- │  │  │  └─ libc v0.2.97
+ │  │  │  └─ libc v0.2.103
  │  │  └─ remove_dir_all v0.5.3
- │  ├─ thiserror v1.0.25
- │  │  └─ thiserror-impl v1.0.25 (proc-macro)
- │  │     ├─ proc-macro2 v1.0.27 
- │  │     ├─ quote v1.0.9 
- │  │     └─ syn v1.0.73 
- │  ├─ tokio v1.7.1
- │  │  ├─ bytes v1.0.1
- │  │  ├─ libc v0.2.97
+ │  ├─ thiserror v1.0.29 
+ │  ├─ tokio v1.12.0
+ │  │  ├─ bytes v1.1.0
+ │  │  ├─ libc v0.2.103
  │  │  ├─ memchr v2.3.4
  │  │  ├─ mio v0.7.13
- │  │  │  ├─ libc v0.2.97
+ │  │  │  ├─ libc v0.2.103
  │  │  │  └─ log v0.4.14 
  │  │  ├─ num_cpus v1.13.0 
  │  │  ├─ once_cell v1.8.0
- │  │  ├─ parking_lot v0.11.1
- │  │  │  ├─ instant v0.1.9
+ │  │  ├─ parking_lot v0.11.2
+ │  │  │  ├─ instant v0.1.11
  │  │  │  │  └─ cfg-if v1.0.0
- │  │  │  ├─ lock_api v0.4.4
+ │  │  │  ├─ lock_api v0.4.5
  │  │  │  │  └─ scopeguard v1.1.0
- │  │  │  └─ parking_lot_core v0.8.3
+ │  │  │  └─ parking_lot_core v0.8.5
  │  │  │     ├─ cfg-if v1.0.0
- │  │  │     ├─ instant v0.1.9 
- │  │  │     ├─ libc v0.2.97
- │  │  │     └─ smallvec v1.6.1 
- │  │  ├─ pin-project-lite v0.2.6
+ │  │  │     ├─ instant v0.1.11 
+ │  │  │     ├─ libc v0.2.103
+ │  │  │     └─ smallvec v1.7.0 
+ │  │  ├─ pin-project-lite v0.2.7
  │  │  ├─ signal-hook-registry v1.4.0
- │  │  │  └─ libc v0.2.97
- │  │  ├─ tokio-macros v1.2.0 (proc-macro)
- │  │  │  ├─ proc-macro2 v1.0.27 
+ │  │  │  └─ libc v0.2.103
+ │  │  ├─ tokio-macros v1.3.0 (proc-macro)
+ │  │  │  ├─ proc-macro2 v1.0.29 
  │  │  │  ├─ quote v1.0.9 
- │  │  │  └─ syn v1.0.73 
+ │  │  │  └─ syn v1.0.77 
  │  │  └─ autocfg v1.0.1
- │  ├─ tokio-util v0.6.7
- │  │  ├─ bytes v1.0.1
- │  │  ├─ futures-core v0.3.15
- │  │  ├─ futures-sink v0.3.15
+ │  ├─ tokio-util v0.6.8
+ │  │  ├─ bytes v1.1.0
+ │  │  ├─ futures-core v0.3.17
+ │  │  ├─ futures-sink v0.3.17
  │  │  ├─ log v0.4.14 
- │  │  ├─ pin-project-lite v0.2.6
- │  │  └─ tokio v1.7.1 
- │  ├─ tracing v0.1.26
+ │  │  ├─ pin-project-lite v0.2.7
+ │  │  └─ tokio v1.12.0 
+ │  ├─ tracing v0.1.28
  │  │  ├─ cfg-if v1.0.0
- │  │  ├─ pin-project-lite v0.2.6
- │  │  ├─ tracing-attributes v0.1.15 (proc-macro)
- │  │  │  ├─ proc-macro2 v1.0.27 
+ │  │  ├─ pin-project-lite v0.2.7
+ │  │  ├─ tracing-attributes v0.1.16 (proc-macro)
+ │  │  │  ├─ proc-macro2 v1.0.29 
  │  │  │  ├─ quote v1.0.9 
- │  │  │  └─ syn v1.0.73 
- │  │  └─ tracing-core v0.1.18
+ │  │  │  └─ syn v1.0.77 
+ │  │  └─ tracing-core v0.1.20
  │  │     └─ lazy_static v1.4.0
- │  └─ tracing-subscriber v0.2.18
+ │  └─ tracing-subscriber v0.2.24
  │     ├─ ansi_term v0.12.1
  │     ├─ chrono v0.4.19 
  │     ├─ lazy_static v1.4.0
  │     ├─ matchers v0.0.1
  │     │  └─ regex-automata v0.1.10 
  │     ├─ regex v1.4.6 
- │     ├─ serde v1.0.126 
- │     ├─ serde_json v1.0.64 
- │     ├─ sharded-slab v0.1.1
+ │     ├─ serde v1.0.130 
+ │     ├─ serde_json v1.0.68 
+ │     ├─ sharded-slab v0.1.3
  │     │  └─ lazy_static v1.4.0
- │     ├─ smallvec v1.6.1 
+ │     ├─ smallvec v1.7.0 
  │     ├─ thread_local v1.1.3
  │     │  └─ once_cell v1.8.0
- │     ├─ tracing v0.1.26 
- │     ├─ tracing-core v0.1.18 
+ │     ├─ tracing v0.1.28 
+ │     ├─ tracing-core v0.1.20 
  │     ├─ tracing-log v0.1.2
  │     │  ├─ lazy_static v1.4.0
  │     │  ├─ log v0.4.14 
- │     │  └─ tracing-core v0.1.18 
+ │     │  └─ tracing-core v0.1.20 
  │     └─ tracing-serde v0.1.2
- │        ├─ serde v1.0.126 
- │        └─ tracing-core v0.1.18 
+ │        ├─ serde v1.0.130 
+ │        └─ tracing-core v0.1.20 
  ├─ tempdir v0.3.7 
- ├─ thiserror v1.0.25 
- ├─ tokio v1.7.1 
- └─ tokio-util v0.6.7 
+ ├─ termion v1.5.6
+ │  ├─ libc v0.2.103
+ │  └─ numtoa v0.1.0
+ ├─ textwrap v0.14.2 
+ ├─ thiserror v1.0.29 
+ ├─ tokio v1.12.0 
+ ├─ tokio-util v0.6.8 
+ └─ tui v0.14.0
+    ├─ bitflags v1.3.2
+    ├─ cassowary v0.3.0
+    ├─ termion v1.5.6 
+    ├─ unicode-segmentation v1.8.0
+    └─ unicode-width v0.1.9

Commit: 0a474e2 (Compare with baseline commit)

@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 2 times, most recently from 7e60b5b to e8a3d2d Compare August 10, 2021 00:50
src/server/client.rs Outdated Show resolved Hide resolved
@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 3 times, most recently from 6f200c9 to 741bbbc Compare August 16, 2021 00:41
@Kobzol
Copy link
Collaborator

Kobzol commented Aug 16, 2021

It seems to me that you have started to implement the dashboard "with bells and whistles" (seeing the layout code). This PR's getting quite big, do you think that we could first merge some very basic form that will just include the dashboard command and show some hello world screen?

@vyomkeshj
Copy link
Contributor Author

@Kobzol, yes. The plan is to just have one screen with a list of workers and their hw usage at the end of this PR. There is some unused code in this commit that I have inherited from kdash, I'll remove what I don't end up using. Is it okay?

@vyomkeshj
Copy link
Contributor Author

There are also a lot of unwanted changes in this PR right now that I'll remove

@Kobzol
Copy link
Collaborator

Kobzol commented Aug 16, 2021

Is it okay?

Ok :) Let us know when it ready for review.

@vyomkeshj
Copy link
Contributor Author

Screen.Recording.2021-08-17.at.5.46.19.mov

All workers are on the same machine in this one

@Kobzol
Copy link
Collaborator

Kobzol commented Aug 17, 2021

Looks pretty cool! :)

@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 3 times, most recently from 4a3ae1d to 5485b43 Compare August 17, 2021 11:53
@@ -467,9 +467,9 @@ fn gather_configuration(opts: WorkerStartOpts) -> anyhow::Result<WorkerConfigura
work_dir,
log_dir,
heartbeat_interval: opts.heartbeat.into_duration(),
hw_state_poll_interval: Some(Duration::from_millis(1000)),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you make this configurable from the command line (in another PR?). Just so that we don't forget about it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken a note, I'll follow up with a PR after this one

src/transfer/messages.rs Outdated Show resolved Hide resolved
src/bin/hq.rs Outdated Show resolved Hide resolved
src/dashboard/models.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_state.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_manager.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_manager.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_events.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_events.rs Outdated Show resolved Hide resolved
src/dashboard/dashboard_events.rs Outdated Show resolved Hide resolved
src/dashboard/ui/start.rs Outdated Show resolved Hide resolved
src/dashboard/ui/screens/draw_utils.rs Outdated Show resolved Hide resolved
@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 2 times, most recently from 7de4dd4 to 69e441d Compare September 8, 2021 13:23
src/bin/hq.rs Outdated Show resolved Hide resolved
src/dashboard/ui/start.rs Outdated Show resolved Hide resolved
@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 2 times, most recently from 22b99b7 to 462bb75 Compare September 8, 2021 15:14
@Kobzol Kobzol changed the title WIP: Hyperqueue Dashboard Hyperqueue Dashboard skeleton Sep 8, 2021
@Kobzol Kobzol requested a review from spirali September 8, 2021 15:18
@vyomkeshj vyomkeshj force-pushed the dashboard_cli branch 10 times, most recently from 67d0405 to 255b0e1 Compare September 29, 2021 10:48
Copy link
Collaborator

@spirali spirali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. Last changes:

  • Protect calculate_memory_usage_percent against division by zero (just return 0 when total is 0)
  • Fix clippy warnings related to dashboard (use the newest Rust).

Please ping me when it is finished, then I will accept this PR.

@spirali spirali merged commit 8c3ca3e into It4innovations:main Oct 6, 2021
@vyomkeshj vyomkeshj deleted the dashboard_cli branch January 27, 2022 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants