balroggg

Results 13 comments of balroggg

Hi, `chafa` branch works well, easy install on Archlinux also. It's more about previewing big files I think. For example I notice the same behavior with big archive files.

Old backup of home folder tar.zst file 1GB for example, freeze fx ~15sec.

And I found that `fx` aborted on preview ova file 25GB(old image of virtual machine) with big memory allocation.

Add backtrace of abort ``` #0 0x00007ffff7d374dc in ?? () from /usr/lib/libc.so.6 #1 0x00007ffff7ce7998 in raise () from /usr/lib/libc.so.6 #2 0x00007ffff7cd153d in abort () from /usr/lib/libc.so.6 #3 0x0000555555a08da7 in std::sys::unix::abort_internal...

Maybe this helps a little, it's a crate from bat https://github.com/sharkdp/content_inspector/blob/master/examples/inspect.rs

> Thanks, at first i thought it was just to change strip=true to false in the source s `Cargo.toml` but was not the case. Not able to change the profile...

Bat ``` time bat file.ova ───────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── │ File: file.ova ───────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── real 2m52,606s user 0m12,487s sys 0m23,694s ``` Inspect from content_inspector ``` inspect file.ova` file.ova: binary real 0m0,213s user 0m0,083s sys...

``` hexyl --border none -n 32 file.ova 00000000 73 69 65 73 2d 6d 63 2e 6f 76 66 00 00 00 00 00 sies-mc. ovf00000 00000010 00 00 00...

Same issue for me, around ~3% CPU. Maybe missing early `return` in `draw_frame` function.

Fix https://github.com/mattnenterprise/rust-ftp/issues/108