diff --git a/dev/articles/ansi-benchmark.html b/dev/articles/ansi-benchmark.html index b2da6d52..f58fab48 100644 --- a/dev/articles/ansi-benchmark.html +++ b/dev/articles/ansi-benchmark.html @@ -76,7 +76,7 @@
vignettes/ansi-benchmark.Rmd
ansi-benchmark.Rmd
$output function (x, options) { hook.t(x, options[[paste0(“attr.”, class)]], options[[paste0(“class.”, class)]]) } <bytecode: -0x55a9b4e4a828> <environment: 0x55a9b5851298>
+0x55f140f5be40> <environment: 0x55f1419628f0>#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 ansi 44.8µs 48.1µs 20216. 98.5KB 19.0
-#> 2 plain 44.5µs 48.1µs 20143. 0B 20.0
-#> 3 base 11.2µs 12.5µs 78243. 48.4KB 23.5
+#> 1 ansi 44.5µs 48µs 20158. 98.5KB 19.0
+#> 2 plain 44.1µs 47.6µs 20251. 0B 19.8
+#> 3 base 11.3µs 12.5µs 77769. 48.4KB 23.3
bench::mark(
ansi = ansi_align(ansi, width = 20, align = "right"),
@@ -161,9 +161,9 @@
#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 ansi 46µs 49.6µs 19569. 0B 21.2
-#> 2 plain 46µs 49.6µs 19561. 0B 21.5
-#> 3 base 13.4µs 14.6µs 66301. 0B 26.5
+#> 1 ansi 46.2µs 50.1µs 19301. 0B 21.3
+#> 2 plain 45.7µs 49.6µs 19478. 0B 21.4
+#> 3 base 13.5µs 14.9µs 64831. 0B 19.5
#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 ansi 110.31µs 117.6µs 8286. 75.07KB 14.7
-#> 2 plain 88.27µs 93.2µs 10414. 8.73KB 14.7
-#> 3 base 1.85µs 2.01µs 476859. 0B 0
+#> 1 ansi 110.75µs 117.9µs 8232. 75.07KB 14.7
+#> 2 plain 88.45µs 93.5µs 10317. 8.73KB 12.5
+#> 3 base 1.85µs 2µs 479676. 0B 48.0
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 ansi 337µs 360µs 2747. 33.17KB 19.2
-#> 2 plain 336µs 358µs 2768. 1.09KB 19.2
+#> 1 ansi 331µs 354µs 2800. 33.17KB 19.1
+#> 2 plain 330µs 353µs 2778. 1.09KB 19.2
#> # A tibble: 12 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 5.43µs 5.94µs 162670. 8.02KB 32.5
-#> 2 fansi_ansi 29.47µs 32.78µs 29600. 4.18KB 23.7
-#> 3 cli_plain 5.39µs 5.9µs 163593. 0B 16.4
-#> 4 fansi_plain 29.45µs 32.54µs 29167. 688B 26.3
-#> 5 cli_vec_ansi 6.68µs 7.12µs 137148. 448B 13.7
-#> 6 fansi_vec_ansi 38.48µs 40.53µs 24047. 5.02KB 19.3
-#> 7 cli_vec_plain 7.24µs 7.62µs 128337. 448B 25.7
-#> 8 fansi_vec_plain 37.65µs 39.62µs 24586. 5.02KB 19.7
-#> 9 cli_txt_ansi 5.36µs 5.7µs 170372. 0B 34.1
-#> 10 fansi_txt_ansi 29.14µs 31.21µs 31169. 688B 25.0
-#> 11 cli_txt_plain 6.2µs 6.55µs 148660. 0B 14.9
-#> 12 fansi_txt_plain 37.7µs 39.98µs 24216. 5.02KB 19.4
+#> 1 cli_ansi 5.42µs 5.93µs 161544. 8.02KB 32.3
+#> 2 fansi_ansi 29.54µs 32.56µs 29890. 4.18KB 23.9
+#> 3 cli_plain 5.39µs 5.95µs 162465. 0B 16.2
+#> 4 fansi_plain 29.89µs 32.52µs 29926. 688B 27.0
+#> 5 cli_vec_ansi 6.75µs 7.17µs 135705. 448B 13.6
+#> 6 fansi_vec_ansi 39.44µs 41.6µs 23454. 5.02KB 18.8
+#> 7 cli_vec_plain 7.27µs 7.72µs 126735. 448B 25.4
+#> 8 fansi_vec_plain 38.3µs 40.52µs 23971. 5.02KB 19.2
+#> 9 cli_txt_ansi 5.4µs 5.81µs 168122. 0B 33.6
+#> 10 fansi_txt_ansi 29.97µs 32.11µs 30222. 688B 21.2
+#> 11 cli_txt_plain 6.19µs 6.63µs 146776. 0B 29.4
+#> 12 fansi_txt_plain 38.28µs 40.65µs 23733. 5.02KB 19.0
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli 65.5µs 67.1µs 14648. 28.8KB 6.10
-#> 2 fansi 121.5µs 124.9µs 7880. 55.3KB 8.20
+#> 1 cli 66µs 67.5µs 14552. 28.8KB 6.10
+#> 2 fansi 122µs 125.4µs 7818. 55.3KB 8.20
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 6.5µs 7.06µs 137564. 0B 13.8
-#> 2 fansi_ansi 89.79µs 94.07µs 10372. 31.85KB 16.7
-#> 3 base_ansi 852.04ns 901.99ns 1037868. 0B 104.
-#> 4 cli_plain 6.46µs 7.01µs 139185. 0B 13.9
-#> 5 fansi_plain 89.03µs 94.27µs 10353. 688B 16.8
-#> 6 base_plain 782.08ns 831.09ns 1108880. 0B 111.
-#> 7 cli_vec_ansi 27.77µs 28.86µs 34033. 448B 3.40
-#> 8 fansi_vec_ansi 109.44µs 114.28µs 8531. 5.02KB 14.7
-#> 9 base_vec_ansi 14.8µs 14.87µs 66383. 448B 0
-#> 10 cli_vec_plain 26.3µs 27.1µs 35870. 448B 7.18
-#> 11 fansi_vec_plain 100.43µs 105.09µs 9259. 5.02KB 14.7
-#> 12 base_vec_plain 8.1µs 8.18µs 120435. 448B 0
-#> 13 cli_txt_ansi 28.06µs 28.72µs 34260. 0B 6.85
-#> 14 fansi_txt_ansi 101.51µs 106.27µs 9174. 688B 14.6
-#> 15 base_txt_ansi 14.26µs 14.32µs 68916. 0B 0
-#> 16 cli_txt_plain 25.93µs 26.55µs 36864. 0B 7.37
-#> 17 fansi_txt_plain 91.45µs 96.41µs 10113. 688B 16.7
-#> 18 base_txt_plain 8.39µs 8.91µs 112390. 0B 0
+#> 1 cli_ansi 6.5µs 7.04µs 138584. 0B 13.9
+#> 2 fansi_ansi 90.82µs 96.16µs 10118. 31.85KB 16.8
+#> 3 base_ansi 852.04ns 932.02ns 865496. 0B 0
+#> 4 cli_plain 6.41µs 7.04µs 138251. 0B 27.7
+#> 5 fansi_plain 90.83µs 95.59µs 10180. 688B 16.9
+#> 6 base_plain 772.07ns 821.08ns 1138145. 0B 0
+#> 7 cli_vec_ansi 28.17µs 29.55µs 32967. 448B 6.59
+#> 8 fansi_vec_ansi 111.39µs 116.98µs 8281. 5.02KB 12.5
+#> 9 base_vec_ansi 14.8µs 14.86µs 66228. 448B 0
+#> 10 cli_vec_plain 26.28µs 27.22µs 35838. 448B 7.17
+#> 11 fansi_vec_plain 101.69µs 106.54µs 9064. 5.02KB 14.7
+#> 12 base_vec_plain 8.11µs 8.17µs 120064. 448B 0
+#> 13 cli_txt_ansi 28.07µs 29.06µs 33396. 0B 6.68
+#> 14 fansi_txt_ansi 102.76µs 108.5µs 8931. 688B 14.6
+#> 15 base_txt_ansi 14.26µs 14.31µs 68774. 0B 0
+#> 16 cli_txt_plain 25.91µs 26.67µs 36624. 0B 7.33
+#> 17 fansi_txt_plain 93.39µs 99.61µs 9716. 688B 14.7
+#> 18 base_txt_plain 8.39µs 8.92µs 109862. 0B 0
bench::mark(
cli_ansi = ansi_nchar(ansi, type = "width"),
@@ -324,24 +324,24 @@
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 8.05µs 8.9µs 109054. 0B 32.7
-#> 2 fansi_ansi 90.14µs 94.72µs 10295. 688B 16.7
-#> 3 base_ansi 1.18µs 1.22µs 777520. 0B 0
-#> 4 cli_plain 8.02µs 8.66µs 112638. 0B 22.5
-#> 5 fansi_plain 89.99µs 94.6µs 10289. 688B 16.8
-#> 6 base_plain 971.02ns 1.01µs 924743. 0B 0
-#> 7 cli_vec_ansi 33.91µs 34.67µs 28357. 448B 8.51
-#> 8 fansi_vec_ansi 117.25µs 121.53µs 8025. 5.02KB 12.5
-#> 9 base_vec_ansi 41.75µs 42.49µs 23311. 448B 0
-#> 10 cli_vec_plain 32.93µs 33.63µs 29261. 448B 5.85
-#> 11 fansi_vec_plain 106.6µs 110.84µs 8798. 5.02KB 14.6
-#> 12 base_vec_plain 21.36µs 21.54µs 45852. 448B 0
-#> 13 cli_txt_ansi 34.22µs 34.85µs 28222. 0B 5.65
-#> 14 fansi_txt_ansi 107.6µs 112.86µs 8637. 688B 14.6
-#> 15 base_txt_ansi 44.92µs 45.12µs 21890. 0B 0
-#> 16 cli_txt_plain 32.65µs 33.35µs 29505. 0B 5.90
-#> 17 fansi_txt_plain 97.54µs 102.39µs 9537. 688B 16.7
-#> 18 base_txt_plain 23.93µs 24.14µs 40963. 0B 0
+#> 1 cli_ansi 8.12µs 8.94µs 108004. 0B 21.6
+#> 2 fansi_ansi 92.26µs 98.13µs 9828. 688B 16.9
+#> 3 base_ansi 1.18µs 1.22µs 761723. 0B 0
+#> 4 cli_plain 8.11µs 9.01µs 94088. 0B 18.8
+#> 5 fansi_plain 92.01µs 98.13µs 9861. 688B 16.9
+#> 6 base_plain 961.01ns 1µs 933818. 0B 0
+#> 7 cli_vec_ansi 33.88µs 34.84µs 28098. 448B 5.62
+#> 8 fansi_vec_ansi 118.55µs 125.3µs 7737. 5.02KB 12.0
+#> 9 base_vec_ansi 41.73µs 42.53µs 23167. 448B 2.32
+#> 10 cli_vec_plain 33µs 33.93µs 28922. 448B 5.79
+#> 11 fansi_vec_plain 107.92µs 113.97µs 8499. 5.02KB 12.5
+#> 12 base_vec_plain 21.36µs 21.55µs 45771. 448B 4.58
+#> 13 cli_txt_ansi 34.22µs 34.94µs 28097. 0B 5.62
+#> 14 fansi_txt_ansi 108.83µs 113.47µs 8582. 688B 12.4
+#> 15 base_txt_ansi 43.82µs 45.01µs 21929. 0B 2.19
+#> 16 cli_txt_plain 32.59µs 33.37µs 29420. 0B 5.89
+#> 17 fansi_txt_plain 97.74µs 103.44µs 9416. 688B 14.6
+#> 18 base_txt_plain 23.93µs 24.14µs 40842. 0B 0
#> # A tibble: 6 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 6.54µs 7.05µs 138018. 0B 27.6
-#> 2 cli_plain 5.98µs 6.48µs 150248. 0B 15.0
-#> 3 cli_vec_ansi 39.34µs 40.49µs 24313. 848B 4.86
-#> 4 cli_vec_plain 9.94µs 10.51µs 93042. 848B 18.6
-#> 5 cli_txt_ansi 37.36µs 38.67µs 25448. 0B 2.55
-#> 6 cli_txt_plain 6.82µs 7.32µs 133171. 0B 26.6
+#> 1 cli_ansi 6.38µs 7.01µs 138661. 0B 13.9
+#> 2 cli_plain 5.95µs 6.45µs 150799. 0B 30.2
+#> 3 cli_vec_ansi 39.62µs 40.58µs 24120. 848B 2.41
+#> 4 cli_vec_plain 9.86µs 10.4µs 93939. 848B 18.8
+#> 5 cli_txt_ansi 37.33µs 38.6µs 25404. 0B 2.54
+#> 6 cli_txt_plain 6.76µs 7.3µs 133308. 0B 26.7
#> # A tibble: 12 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 11.3µs 12µs 81379. 0B 24.4
-#> 2 fansi_ansi 27.6µs 29.2µs 32970. 688B 26.4
-#> 3 cli_plain 11.1µs 11.8µs 82576. 0B 24.8
-#> 4 fansi_plain 27µs 28.8µs 33811. 688B 27.1
-#> 5 cli_vec_ansi 19.8µs 20.7µs 47376. 848B 14.2
-#> 6 fansi_vec_ansi 52.5µs 54.7µs 17862. 5.41KB 12.6
-#> 7 cli_vec_plain 13.8µs 14.6µs 67055. 848B 20.1
-#> 8 fansi_vec_plain 35.9µs 37.9µs 25722. 4.59KB 20.6
-#> 9 cli_txt_ansi 19.6µs 20.3µs 47050. 0B 14.1
-#> 10 fansi_txt_ansi 43µs 44.9µs 21685. 5.12KB 17.4
-#> 11 cli_txt_plain 11.9µs 12.6µs 77481. 0B 23.3
-#> 12 fansi_txt_plain 27.8µs 29.8µs 32618. 688B 26.1
+#> 1 cli_ansi 11.3µs 11.9µs 81439. 0B 32.6
+#> 2 fansi_ansi 27.3µs 29.2µs 33190. 688B 23.2
+#> 3 cli_plain 11.1µs 11.7µs 83228. 0B 25.0
+#> 4 fansi_plain 27µs 28.8µs 33495. 688B 26.8
+#> 5 cli_vec_ansi 20µs 21.1µs 46162. 848B 13.9
+#> 6 fansi_vec_ansi 52.8µs 55.4µs 17598. 5.41KB 12.6
+#> 7 cli_vec_plain 13.6µs 14.8µs 65802. 848B 26.3
+#> 8 fansi_vec_plain 36µs 38.1µs 25459. 4.59KB 17.8
+#> 9 cli_txt_ansi 19.5µs 20.4µs 47919. 0B 14.4
+#> 10 fansi_txt_ansi 43.2µs 45.5µs 21332. 5.12KB 17.1
+#> 11 cli_txt_plain 11.9µs 12.7µs 76627. 0B 23.0
+#> 12 fansi_txt_plain 28.5µs 30.3µs 31929. 688B 25.6
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 145.77µs 151.5µs 6430. 103.31KB 16.8
-#> 2 fansi_ansi 124.86µs 131.88µs 7401. 102.13KB 22.1
-#> 3 base_ansi 3.96µs 4.32µs 226461. 224B 0
-#> 4 cli_plain 144.01µs 149.83µs 6492. 8.09KB 19.0
-#> 5 fansi_plain 122.85µs 129µs 7594. 9.62KB 19.0
-#> 6 base_plain 3.57µs 3.79µs 256633. 0B 25.7
-#> 7 cli_vec_ansi 7.46ms 7.62ms 131. 823.77KB 25.3
-#> 8 fansi_vec_ansi 1.05ms 1.08ms 898. 846.81KB 17.3
-#> 9 base_vec_ansi 155.34µs 163.92µs 5965. 22.7KB 4.12
-#> 10 cli_vec_plain 7.38ms 7.56ms 132. 823.77KB 25.4
-#> 11 fansi_vec_plain 985.73µs 1.03ms 954. 845.98KB 19.8
-#> 12 base_vec_plain 113.48µs 116.28µs 8475. 848B 2.02
-#> 13 cli_txt_ansi 3.31ms 3.58ms 278. 63.6KB 2.03
-#> 14 fansi_txt_ansi 1.54ms 1.56ms 640. 35.05KB 2.05
-#> 15 base_txt_ansi 135.62µs 138.18µs 7150. 18.47KB 2.01
-#> 16 cli_txt_plain 2.41ms 2.69ms 374. 63.6KB 0
-#> 17 fansi_txt_plain 515.39µs 538.71µs 1837. 30.6KB 4.07
-#> 18 base_txt_plain 89.87µs 91.56µs 10768. 11.05KB 4.03
+#> 1 cli_ansi 148.04µs 155.53µs 6211. 103.31KB 16.8
+#> 2 fansi_ansi 126.83µs 134.37µs 7176. 102.13KB 19.1
+#> 3 base_ansi 3.97µs 4.38µs 223119. 224B 22.3
+#> 4 cli_plain 144.54µs 152.28µs 6371. 8.09KB 17.3
+#> 5 fansi_plain 124.48µs 132.04µs 7382. 9.62KB 19.1
+#> 6 base_plain 3.45µs 3.71µs 260968. 0B 26.1
+#> 7 cli_vec_ansi 7.52ms 7.75ms 128. 823.77KB 25.2
+#> 8 fansi_vec_ansi 1.05ms 1.1ms 885. 846.81KB 17.4
+#> 9 base_vec_ansi 156.25µs 162.49µs 6042. 22.7KB 2.04
+#> 10 cli_vec_plain 7.44ms 7.67ms 130. 823.77KB 26.0
+#> 11 fansi_vec_plain 1ms 1.05ms 930. 845.98KB 19.8
+#> 12 base_vec_plain 111.42µs 115.8µs 8476. 848B 2.01
+#> 13 cli_txt_ansi 3.31ms 3.36ms 297. 63.6KB 2.02
+#> 14 fansi_txt_ansi 1.54ms 1.56ms 638. 35.05KB 0
+#> 15 base_txt_ansi 136.61µs 147.68µs 6687. 18.47KB 2.03
+#> 16 cli_txt_plain 2.45ms 2.47ms 400. 63.6KB 0
+#> 17 fansi_txt_plain 524.43µs 553.03µs 1800. 30.6KB 6.18
+#> 18 base_txt_plain 90.78µs 92.74µs 10530. 11.05KB 2.02
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 96.12µs 101.34µs 9514. 32.23KB 21.2
-#> 2 fansi_ansi 52.86µs 56.5µs 17117. 31.43KB 23.5
-#> 3 base_ansi 991.04ns 1.04µs 908669. 4.2KB 0
-#> 4 cli_plain 94.02µs 98.36µs 9843. 0B 21.2
-#> 5 fansi_plain 52.29µs 55.91µs 17320. 872B 23.5
-#> 6 base_plain 932.14ns 973.12ns 972295. 0B 0
-#> 7 cli_vec_ansi 231.76µs 240.74µs 4055. 16.73KB 8.26
-#> 8 fansi_vec_ansi 123.76µs 128.74µs 7596. 5.59KB 12.5
-#> 9 base_vec_ansi 35.27µs 36.62µs 27155. 848B 0
-#> 10 cli_vec_plain 177.19µs 183.97µs 5324. 16.73KB 10.4
-#> 11 fansi_vec_plain 116.21µs 119.78µs 8118. 5.59KB 12.0
-#> 12 base_vec_plain 30.78µs 31.01µs 31908. 848B 3.19
-#> 13 cli_txt_ansi 102.88µs 107.03µs 9129. 0B 18.9
-#> 14 fansi_txt_ansi 51.81µs 55.02µs 17737. 872B 23.5
-#> 15 base_txt_ansi 1.03µs 1.07µs 882716. 0B 0
-#> 16 cli_txt_plain 93.95µs 98.14µs 9965. 0B 23.3
-#> 17 fansi_txt_plain 51.78µs 55.22µs 17720. 872B 23.3
-#> 18 base_txt_plain 962.06ns 1.01µs 948472. 0B 0
+#> 1 cli_ansi 97.3µs 103.38µs 9312. 32.23KB 21.6
+#> 2 fansi_ansi 53.11µs 57.19µs 16822. 31.43KB 21.3
+#> 3 base_ansi 991.04ns 1.04µs 912275. 4.2KB 0
+#> 4 cli_plain 94.91µs 99.98µs 9629. 0B 21.2
+#> 5 fansi_plain 53.36µs 57.33µs 16701. 872B 21.3
+#> 6 base_plain 932.14ns 1.02µs 882828. 0B 88.3
+#> 7 cli_vec_ansi 234.35µs 243.5µs 4027. 16.73KB 8.29
+#> 8 fansi_vec_ansi 122.99µs 128µs 7615. 5.59KB 10.4
+#> 9 base_vec_ansi 35.22µs 35.63µs 27627. 848B 2.76
+#> 10 cli_vec_plain 177.49µs 185.49µs 5275. 16.73KB 10.4
+#> 11 fansi_vec_plain 117.4µs 122.45µs 7944. 5.59KB 12.6
+#> 12 base_vec_plain 30.76µs 30.99µs 31928. 848B 0
+#> 13 cli_txt_ansi 103.87µs 109.33µs 8918. 0B 19.5
+#> 14 fansi_txt_ansi 52.93µs 56.05µs 17344. 872B 23.6
+#> 15 base_txt_ansi 1.03µs 1.07µs 890273. 0B 0
+#> 16 cli_txt_plain 94.55µs 99.78µs 9746. 0B 21.2
+#> 17 fansi_txt_plain 51.62µs 55.6µs 17155. 872B 21.3
+#> 18 base_txt_plain 952.04ns 1µs 934697. 0B 93.5
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 320.18µs 334.16µs 2958. 266.59KB 19.0
-#> 2 fansi_ansi 96.37µs 102.85µs 9416. 10.29KB 21.3
-#> 3 base_ansi 36.89µs 38.98µs 24770. 0B 19.8
-#> 4 cli_plain 198.11µs 206.47µs 4688. 0B 19.0
-#> 5 fansi_plain 94.67µs 101.08µs 9632. 872B 21.2
-#> 6 base_plain 30.55µs 32.35µs 29710. 0B 20.8
-#> 7 cli_vec_ansi 33.47ms 33.6ms 29.6 2.48KB 53.3
-#> 8 fansi_vec_ansi 240.79µs 249.3µs 3951. 7.25KB 10.3
-#> 9 base_vec_ansi 2.17ms 2.27ms 440. 48.18KB 26.0
-#> 10 cli_vec_plain 20.4ms 20.62ms 48.5 2.48KB 29.1
-#> 11 fansi_vec_plain 200.34µs 206.77µs 4770. 6.42KB 12.5
-#> 12 base_vec_plain 1.6ms 1.65ms 603. 47.4KB 24.5
-#> 13 cli_txt_ansi 23.11ms 23.21ms 42.9 507.59KB 10.1
-#> 14 fansi_txt_ansi 227.49µs 234.79µs 4182. 6.77KB 10.3
-#> 15 base_txt_ansi 2.05ms 2.08ms 474. 582.06KB 13.3
-#> 16 cli_txt_plain 1.64ms 1.67ms 594. 369.84KB 10.8
-#> 17 fansi_txt_plain 179.65µs 188.17µs 5129. 2.51KB 12.5
-#> 18 base_txt_plain 1.31ms 1.34ms 733. 367.31KB 13.1
+#> 1 cli_ansi 313.79µs 331.89µs 2947. 266.59KB 21.3
+#> 2 fansi_ansi 96.04µs 102.76µs 9359. 10.29KB 19.0
+#> 3 base_ansi 36.05µs 38.52µs 24923. 0B 22.5
+#> 4 cli_plain 195.73µs 205.17µs 4726. 0B 16.8
+#> 5 fansi_plain 94.4µs 101.67µs 9475. 872B 21.3
+#> 6 base_plain 29.82µs 31.75µs 30190. 0B 21.1
+#> 7 cli_vec_ansi 33.31ms 33.68ms 29.3 2.48KB 52.8
+#> 8 fansi_vec_ansi 240.07µs 250.11µs 3908. 7.25KB 10.4
+#> 9 base_vec_ansi 2.19ms 2.27ms 436. 48.18KB 25.0
+#> 10 cli_vec_plain 20.04ms 20.72ms 48.0 2.48KB 32.0
+#> 11 fansi_vec_plain 199.75µs 206.29µs 4774. 6.42KB 12.5
+#> 12 base_vec_plain 1.58ms 1.62ms 614. 47.4KB 24.2
+#> 13 cli_txt_ansi 22.94ms 23.39ms 42.7 507.59KB 13.3
+#> 14 fansi_txt_ansi 227.28µs 235.68µs 4162. 6.77KB 8.21
+#> 15 base_txt_ansi 2.05ms 2.08ms 477. 582.06KB 13.2
+#> 16 cli_txt_plain 1.64ms 1.68ms 592. 369.84KB 10.8
+#> 17 fansi_txt_plain 180.62µs 187.87µs 5227. 2.51KB 12.5
+#> 18 base_txt_plain 1.31ms 1.33ms 742. 367.31KB 13.1
#> # A tibble: 18 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 6.19µs 6.74µs 143029. 23.82KB 28.6
-#> 2 fansi_ansi 75.71µs 80.98µs 12024. 28.48KB 21.3
-#> 3 base_ansi 961.01ns 1µs 919766. 0B 92.0
-#> 4 cli_plain 6.03µs 6.53µs 148235. 0B 29.7
-#> 5 fansi_plain 75.82µs 80.7µs 12068. 1.98KB 21.3
-#> 6 base_plain 912.11ns 972.07ns 969238. 0B 0
-#> 7 cli_vec_ansi 26.51µs 27.83µs 35194. 1.7KB 7.04
-#> 8 fansi_vec_ansi 112.13µs 117.32µs 8259. 8.86KB 14.8
-#> 9 base_vec_ansi 5.83µs 6.01µs 161782. 848B 16.2
-#> 10 cli_vec_plain 22.39µs 23.8µs 41218. 1.7KB 8.25
-#> 11 fansi_vec_plain 106.63µs 111.46µs 8727. 8.86KB 14.8
-#> 12 base_vec_plain 5.45µs 5.66µs 171162. 848B 0
-#> 13 cli_txt_ansi 6.09µs 6.63µs 144852. 0B 43.5
-#> 14 fansi_txt_ansi 76.14µs 81.08µs 12008. 1.98KB 21.2
-#> 15 base_txt_ansi 5.12µs 5.18µs 174804. 0B 0
-#> 16 cli_txt_plain 6.84µs 7.41µs 129506. 0B 25.9
-#> 17 fansi_txt_plain 75.14µs 80.26µs 12165. 1.98KB 22.1
-#> 18 base_txt_plain 3.34µs 3.39µs 286102. 0B 0
+#> 1 cli_ansi 6.23µs 6.75µs 142670. 23.82KB 42.8
+#> 2 fansi_ansi 75.79µs 81.2µs 11945. 28.48KB 19.1
+#> 3 base_ansi 961.94ns 1.01µs 918560. 0B 91.9
+#> 4 cli_plain 6.15µs 6.66µs 145773. 0B 29.2
+#> 5 fansi_plain 75.49µs 80.73µs 12000. 1.98KB 21.3
+#> 6 base_plain 922.13ns 972.07ns 965472. 0B 0
+#> 7 cli_vec_ansi 26.55µs 27.64µs 35513. 1.7KB 7.10
+#> 8 fansi_vec_ansi 113.97µs 118.99µs 8171. 8.86KB 14.8
+#> 9 base_vec_ansi 5.72µs 6µs 162504. 848B 16.3
+#> 10 cli_vec_plain 22.36µs 23.61µs 41583. 1.7KB 8.32
+#> 11 fansi_vec_plain 107.73µs 112.84µs 8629. 8.86KB 14.8
+#> 12 base_vec_plain 5.4µs 5.68µs 172178. 848B 0
+#> 13 cli_txt_ansi 6.18µs 6.76µs 142942. 0B 28.6
+#> 14 fansi_txt_ansi 76.25µs 81.27µs 11937. 1.98KB 21.4
+#> 15 base_txt_ansi 5.12µs 5.18µs 188160. 0B 18.8
+#> 16 cli_txt_plain 6.98µs 7.54µs 128426. 0B 25.7
+#> 17 fansi_txt_plain 76.15µs 80.7µs 12043. 1.98KB 21.3
+#> 18 base_txt_plain 3.36µs 3.42µs 285380. 0B 0
#> # A tibble: 12 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 103.42µs 107.61µs 9038. 11.88KB 16.9
-#> 2 base_ansi 1.32µs 1.36µs 710841. 0B 0
-#> 3 cli_plain 83.77µs 87.13µs 11149. 8.73KB 14.6
-#> 4 base_plain 1µs 1.04µs 934392. 0B 0
-#> 5 cli_vec_ansi 3.99ms 4.09ms 244. 838.77KB 29.0
-#> 6 base_vec_ansi 77.98µs 78.8µs 12561. 848B 0
-#> 7 cli_vec_plain 2.23ms 2.29ms 431. 816.9KB 30.4
-#> 8 base_vec_plain 47.07µs 47.91µs 20644. 848B 0
-#> 9 cli_txt_ansi 12.94ms 13.04ms 76.0 114.42KB 6.52
-#> 10 base_txt_ansi 78.87µs 79.22µs 12485. 0B 0
-#> 11 cli_txt_plain 251.74µs 260.84µs 3760. 18.16KB 6.12
-#> 12 base_txt_plain 44.43µs 44.7µs 22015. 0B 0
+#> 1 cli_ansi 103.18µs 107.85µs 8963. 11.88KB 17.2
+#> 2 base_ansi 1.32µs 1.36µs 714085. 0B 0
+#> 3 cli_plain 83.2µs 86.88µs 11177. 8.73KB 14.6
+#> 4 base_plain 1µs 1.04µs 920968. 0B 0
+#> 5 cli_vec_ansi 3.94ms 4.04ms 246. 838.77KB 28.7
+#> 6 base_vec_ansi 78.05µs 78.73µs 12566. 848B 0
+#> 7 cli_vec_plain 2.25ms 2.3ms 432. 816.9KB 27.4
+#> 8 base_vec_plain 46.97µs 47.77µs 20665. 848B 0
+#> 9 cli_txt_ansi 13.02ms 13.13ms 75.8 114.42KB 6.50
+#> 10 base_txt_ansi 78.67µs 79.12µs 12385. 0B 0
+#> 11 cli_txt_plain 252.01µs 259.81µs 3745. 18.16KB 6.12
+#> 12 base_txt_plain 44.78µs 45.13µs 21836. 0B 0
#> # A tibble: 12 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli_ansi 72µs 76.3µs 12466. 0B 21.1
-#> 2 base_ansi 15.8µs 17.2µs 56540. 0B 22.6
-#> 3 cli_plain 70.3µs 74.2µs 13034. 0B 21.1
-#> 4 base_plain 16.1µs 17.2µs 56572. 0B 22.6
-#> 5 cli_vec_ansi 154.4µs 162µs 6000. 7.2KB 10.3
-#> 6 base_vec_ansi 54.2µs 59.1µs 16587. 1.66KB 6.12
-#> 7 cli_vec_plain 142.2µs 149.6µs 6533. 7.2KB 10.4
-#> 8 base_vec_plain 47.2µs 52.1µs 18763. 1.66KB 6.12
-#> 9 cli_txt_ansi 137.2µs 141.6µs 6835. 0B 12.4
-#> 10 base_txt_ansi 37.7µs 38.9µs 25127. 0B 7.54
-#> 11 cli_txt_plain 121.3µs 125.7µs 7740. 0B 12.5
-#> 12 base_txt_plain 32.9µs 34.1µs 28627. 0B 11.5
+#> 1 cli_ansi 72.1µs 77.3µs 12375. 0B 21.2
+#> 2 base_ansi 16.3µs 17.4µs 55502. 0B 22.2
+#> 3 cli_plain 71.7µs 76.2µs 12363. 0B 18.9
+#> 4 base_plain 16.2µs 17.3µs 55674. 0B 22.3
+#> 5 cli_vec_ansi 156.3µs 164.9µs 5925. 7.2KB 10.4
+#> 6 base_vec_ansi 55.1µs 59.8µs 16387. 1.66KB 6.12
+#> 7 cli_vec_plain 143µs 151.4µs 6460. 7.2KB 10.3
+#> 8 base_vec_plain 48.6µs 53.5µs 18098. 1.66KB 6.14
+#> 9 cli_txt_ansi 137.2µs 142µs 6862. 0B 12.4
+#> 10 base_txt_ansi 38.3µs 39.8µs 24530. 0B 7.36
+#> 11 cli_txt_plain 121.6µs 126.4µs 7683. 0B 12.4
+#> 12 base_txt_plain 32.9µs 34.2µs 28525. 0B 11.4
#> # A tibble: 6 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli 7.86µs 8.54µs 113596. 12.3KB 22.7
-#> 2 base 842.03ns 901.99ns 1045080. 0B 0
-#> 3 cli_vec 24.28µs 25.16µs 38948. 448B 7.79
-#> 4 base_vec 11.7µs 11.97µs 82185. 448B 0
-#> 5 cli_txt 24.93µs 25.7µs 38120. 0B 11.4
-#> 6 base_txt 12.78µs 12.86µs 76649. 0B 0
+#> 1 cli 7.92µs 8.66µs 110674. 12.3KB 33.2
+#> 2 base 840.98ns 891.16ns 1055676. 0B 0
+#> 3 cli_vec 24.35µs 25.25µs 38799. 448B 7.76
+#> 4 base_vec 11.76µs 12µs 82182. 448B 0
+#> 5 cli_txt 24.92µs 25.83µs 37716. 0B 7.54
+#> 6 base_txt 12.79µs 12.89µs 76262. 0B 7.63
bench::mark(
cli = utf8_nchar(uni, type = "width"),
@@ -710,12 +710,12 @@
#> # A tibble: 6 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli 7.84µs 8.52µs 113429. 0B 22.7
-#> 2 base 1.23µs 1.3µs 719909. 0B 72.0
-#> 3 cli_vec 28.64µs 29.61µs 33178. 448B 6.64
-#> 4 base_vec 45.34µs 48.31µs 20748. 448B 0
-#> 5 cli_txt 30.02µs 30.74µs 31988. 0B 6.40
-#> 6 base_txt 83.55µs 85.62µs 11573. 0B 0
+#> 1 cli 7.87µs 8.55µs 112784. 0B 22.6
+#> 2 base 1.22µs 1.28µs 734707. 0B 0
+#> 3 cli_vec 28.71µs 29.65µs 33034. 448B 9.91
+#> 4 base_vec 46.69µs 49.06µs 20206. 448B 0
+#> 5 cli_txt 30µs 30.9µs 31714. 0B 6.34
+#> 6 base_txt 81.37µs 84.66µs 11708. 0B 0
bench::mark(
cli = utf8_nchar(uni, type = "codepoints"),
@@ -729,12 +729,12 @@
#> # A tibble: 6 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli 8.35µs 9.1µs 107290. 0B 21.5
-#> 2 base 851ns 902ns 1046810. 0B 0
-#> 3 cli_vec 19.84µs 20.5µs 47894. 448B 14.4
-#> 4 base_vec 11.64µs 12µs 82206. 448B 0
-#> 5 cli_txt 20.48µs 21.1µs 46558. 0B 14.0
-#> 6 base_txt 12.78µs 12.8µs 76776. 0B 0
+#> 1 cli 8.66µs 9.35µs 103823. 0B 20.8
+#> 2 base 842.03ns 902.1ns 1031247. 0B 0
+#> 3 cli_vec 20µs 20.78µs 47018. 448B 14.1
+#> 4 base_vec 11.76µs 12.02µs 82120. 448B 0
+#> 5 cli_txt 20.59µs 21.44µs 45644. 0B 9.13
+#> 6 base_txt 12.78µs 12.94µs 74926. 0B 7.49
#> # A tibble: 6 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 cli 5.76µs 6.12µs 158909. 21.1KB 31.8
-#> 2 base 980.92ns 1.02µs 929060. 0B 92.9
-#> 3 cli_vec 29.32µs 30.04µs 32762. 1.7KB 6.55
-#> 4 base_vec 7.66µs 7.86µs 124779. 848B 0
-#> 5 cli_txt 5.79µs 6.16µs 158403. 0B 31.7
-#> 6 base_txt 5.84µs 5.9µs 166578. 0B 16.7
+#> 1 cli 5.69µs 6.18µs 153181. 21.1KB 30.6
+#> 2 base 971.02ns 1.03µs 909236. 0B 90.9
+#> 3 cli_vec 29.5µs 30.36µs 32292. 1.7KB 6.46
+#> 4 base_vec 7.66µs 7.87µs 124974. 848B 0
+#> 5 cli_txt 5.77µs 6.33µs 146777. 0B 29.4
+#> 6 base_txt 5.85µs 5.91µs 165588. 0B 16.6
vignettes/palettes.Rmd
palettes.Rmd
vignettes/pluralization.Rmd
pluralization.Rmd
vignettes/progress-advanced.Rmd
progress-advanced.Rmd
vignettes/progress-benchmark.Rmd
progress-benchmark.Rmd
ben_st2 <- bench::mark(
if (`__cli_update_due`) foobar()
@@ -129,7 +129,7 @@ The timer#> # A tibble: 1 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch> <bch:> <dbl> <bch:byt> <dbl>
-#> 1 if (`__cli_update_due`) fooba… 40ns 50.1ns 20774999. 0B 0
for
loop
@@ -175,10 +175,10 @@
ben_taf2 <- bench::mark(f0(1e6), fp(1e6))
#> Warning: Some expressions had a GC in every iteration; so filtering is
@@ -187,10 +187,10 @@
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0(1e+06) 144ms 157ms 5.79 0B 48.2
-#> 2 fp(1e+06) 159ms 160ms 6.24 1.93KB 51.5
+#> 1 f0(1e+06) 134ms 145ms 6.36 0B 52.5
+#> 2 fp(1e+06) 148ms 152ms 6.61 1.93KB 54.6
(ben_taf2$median[2] - ben_taf2$median[1]) / 1e6
-#> [1] 3.5ns
ben_taf3 <- bench::mark(f0(1e7), fp(1e7))
#> Warning: Some expressions had a GC in every iteration; so filtering is
@@ -199,10 +199,10 @@
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0(1e+07) 1.51s 1.51s 0.660 0B 54.8
-#> 2 fp(1e+07) 1.56s 1.56s 0.639 1.93KB 53.1
+#> 1 f0(1e+07) 1.46s 1.46s 0.683 0B 57.4
+#> 2 fp(1e+07) 1.59s 1.59s 0.629 1.93KB 51.6
(ben_taf3$median[2] - ben_taf3$median[1]) / 1e7
-#> [1] 5ns
ben_taf4 <- bench::mark(f0(1e8), fp(1e8))
#> Warning: Some expressions had a GC in every iteration; so filtering is
@@ -211,10 +211,10 @@
#> # A tibble: 2 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0(1e+08) 14.4s 14.4s 0.0697 0B 34.8
-#> 2 fp(1e+08) 15.7s 15.7s 0.0635 1.93KB 31.5
+#> 1 f0(1e+08) 13.8s 13.8s 0.0723 0B 36.0
+#> 2 fp(1e+08) 15.1s 15.1s 0.0663 1.93KB 32.9
(ben_taf4$median[2] - ben_taf4$median[1]) / 1e8
-#> [1] 13.9ns
lapply()
@@ -255,11 +255,11 @@ lapply()
#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0() 84ms 90.4ms 10.6 781KB 23.0
-#> 2 f01() 124.1ms 132.3ms 6.44 781KB 16.1
-#> 3 fp() 94.4ms 104.2ms 8.74 783KB 12.2
+#> 1 f0() 78.7ms 91.3ms 10.8 781KB 23.4
+#> 2 f01() 126.7ms 128.5ms 6.49 781KB 14.6
+#> 3 fp() 97.9ms 106.4ms 8.87 783KB 14.2
(ben_tam$median[3] - ben_tam$median[1]) / 1e5
-#> [1] 138ns
ben_tam2 <- bench::mark(f0(1e6), f01(1e6), fp(1e6))
#> Warning: Some expressions had a GC in every iteration; so filtering is
@@ -268,13 +268,13 @@ Mapping with lapply()
#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0(1e+06) 831.95ms 831.95ms 1.20 7.63MB 3.61
-#> 2 f01(1e+06) 1.01s 1.01s 0.989 7.63MB 5.93
-#> 3 fp(1e+06) 1.39s 1.39s 0.722 7.63MB 4.33
+#> 1 f0(1e+06) 848.49ms 848.49ms 1.18 7.63MB 3.54
+#> 2 f01(1e+06) 1.04s 1.04s 0.964 7.63MB 5.79
+#> 3 fp(1e+06) 1.42s 1.42s 0.702 7.63MB 4.21
(ben_tam2$median[3] - ben_tam2$median[1]) / 1e6
-#> [1] 554ns
+#> [1] 575ns
(ben_tam2$median[3] - ben_tam2$median[2]) / 1e6
-#> [1] 375ns
ben_pur2 <- bench::mark(f0(1e6), f01(1e6), fp(1e6))
#> Warning: Some expressions had a GC in every iteration; so filtering is
@@ -328,13 +328,13 @@ Mapping with purrr#> # A tibble: 3 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:tm> <bch:tm> <dbl> <bch:byt> <dbl>
-#> 1 f0(1e+06) 831.59ms 831.59ms 1.20 7.63MB 3.61
-#> 2 f01(1e+06) 1.09s 1.09s 0.916 7.63MB 3.66
-#> 3 fp(1e+06) 2.47s 2.47s 0.405 7.63MB 1.62
+#> 1 f0(1e+06) 823.77ms 823.77ms 1.21 7.63MB 3.64
+#> 2 f01(1e+06) 1.05s 1.05s 0.948 7.63MB 2.85
+#> 3 fp(1e+06) 2.68s 2.68s 0.373 7.63MB 1.87
(ben_pur2$median[3] - ben_pur2$median[1]) / 1e6
-#> [1] 1.64µs
+#> [1] 1.86µs
(ben_pur2$median[3] - ben_pur2$median[2]) / 1e6
-#> [1] 1.38µs
cli_progress_bar(total = NA)
bench::mark(cli_progress_update(force = TRUE), max_iterations = 10000)
-#> ⠙ 1 done (308/s) | 4ms
-#> ⠹ 2 done (64/s) | 32ms
-#> ⠸ 3 done (78/s) | 39ms
-#> ⠼ 4 done (89/s) | 46ms
-#> ⠴ 5 done (96/s) | 53ms
-#> ⠦ 6 done (102/s) | 60ms
-#> ⠧ 7 done (106/s) | 66ms
-#> ⠇ 8 done (110/s) | 74ms
-#> ⠏ 9 done (113/s) | 81ms
-#> ⠋ 10 done (115/s) | 87ms
-#> ⠙ 11 done (117/s) | 94ms
-#> ⠹ 12 done (119/s) | 101ms
-#> ⠸ 13 done (121/s) | 108ms
-#> ⠼ 14 done (122/s) | 115ms
-#> ⠴ 15 done (124/s) | 122ms
-#> ⠦ 16 done (125/s) | 129ms
-#> ⠧ 17 done (126/s) | 136ms
-#> ⠇ 18 done (127/s) | 143ms
-#> ⠏ 19 done (127/s) | 150ms
-#> ⠋ 20 done (128/s) | 157ms
-#> ⠙ 21 done (129/s) | 164ms
-#> ⠹ 22 done (130/s) | 170ms
-#> ⠸ 23 done (130/s) | 177ms
-#> ⠼ 24 done (131/s) | 184ms
-#> ⠴ 25 done (131/s) | 191ms
-#> ⠦ 26 done (132/s) | 198ms
-#> ⠧ 27 done (132/s) | 205ms
-#> ⠇ 28 done (132/s) | 212ms
-#> ⠏ 29 done (133/s) | 219ms
-#> ⠋ 30 done (133/s) | 226ms
-#> ⠙ 31 done (131/s) | 237ms
-#> ⠹ 32 done (131/s) | 245ms
-#> ⠸ 33 done (131/s) | 252ms
-#> ⠼ 34 done (131/s) | 260ms
-#> ⠴ 35 done (131/s) | 267ms
-#> ⠦ 36 done (131/s) | 275ms
-#> ⠧ 37 done (131/s) | 283ms
-#> ⠇ 38 done (131/s) | 291ms
-#> ⠏ 39 done (131/s) | 299ms
-#> ⠋ 40 done (131/s) | 306ms
-#> ⠙ 41 done (131/s) | 314ms
-#> ⠹ 42 done (131/s) | 321ms
-#> ⠸ 43 done (131/s) | 328ms
-#> ⠼ 44 done (131/s) | 335ms
-#> ⠴ 45 done (132/s) | 342ms
-#> ⠦ 46 done (132/s) | 349ms
-#> ⠧ 47 done (132/s) | 356ms
-#> ⠇ 48 done (132/s) | 363ms
-#> ⠏ 49 done (133/s) | 370ms
-#> ⠋ 50 done (133/s) | 377ms
-#> ⠙ 51 done (133/s) | 384ms
-#> ⠹ 52 done (133/s) | 391ms
-#> ⠸ 53 done (133/s) | 398ms
-#> ⠼ 54 done (133/s) | 405ms
-#> ⠴ 55 done (134/s) | 412ms
-#> ⠦ 56 done (134/s) | 419ms
-#> ⠧ 57 done (134/s) | 426ms
-#> ⠇ 58 done (134/s) | 433ms
-#> ⠏ 59 done (134/s) | 441ms
-#> ⠋ 60 done (134/s) | 448ms
-#> ⠙ 61 done (134/s) | 455ms
-#> ⠹ 62 done (134/s) | 462ms
-#> ⠸ 63 done (135/s) | 469ms
-#> ⠼ 64 done (135/s) | 476ms
-#> ⠴ 65 done (135/s) | 483ms
-#> ⠦ 66 done (135/s) | 490ms
-#> ⠧ 67 done (135/s) | 497ms
-#> ⠇ 68 done (135/s) | 504ms
-#> ⠏ 69 done (135/s) | 510ms
-#> ⠋ 70 done (135/s) | 518ms
-#> ⠙ 71 done (135/s) | 525ms
-#> ⠹ 72 done (136/s) | 532ms
+#> ⠙ 1 done (423/s) | 3ms
+#> ⠹ 2 done (60/s) | 34ms
+#> ⠸ 3 done (71/s) | 43ms
+#> ⠼ 4 done (79/s) | 51ms
+#> ⠴ 5 done (85/s) | 60ms
+#> ⠦ 6 done (89/s) | 68ms
+#> ⠧ 7 done (93/s) | 76ms
+#> ⠇ 8 done (96/s) | 84ms
+#> ⠏ 9 done (98/s) | 93ms
+#> ⠋ 10 done (100/s) | 101ms
+#> ⠙ 11 done (102/s) | 109ms
+#> ⠹ 12 done (104/s) | 116ms
+#> ⠸ 13 done (106/s) | 123ms
+#> ⠼ 14 done (108/s) | 131ms
+#> ⠴ 15 done (109/s) | 138ms
+#> ⠦ 16 done (110/s) | 145ms
+#> ⠧ 17 done (112/s) | 153ms
+#> ⠇ 18 done (113/s) | 160ms
+#> ⠏ 19 done (114/s) | 168ms
+#> ⠋ 20 done (114/s) | 175ms
+#> ⠙ 21 done (115/s) | 183ms
+#> ⠹ 22 done (116/s) | 191ms
+#> ⠸ 23 done (116/s) | 198ms
+#> ⠼ 24 done (117/s) | 206ms
+#> ⠴ 25 done (117/s) | 213ms
+#> ⠦ 26 done (118/s) | 221ms
+#> ⠧ 27 done (118/s) | 229ms
+#> ⠇ 28 done (119/s) | 236ms
+#> ⠏ 29 done (119/s) | 244ms
+#> ⠋ 30 done (120/s) | 251ms
+#> ⠙ 31 done (120/s) | 259ms
+#> ⠹ 32 done (121/s) | 266ms
+#> ⠸ 33 done (121/s) | 274ms
+#> ⠼ 34 done (121/s) | 281ms
+#> ⠴ 35 done (122/s) | 289ms
+#> ⠦ 36 done (122/s) | 296ms
+#> ⠧ 37 done (122/s) | 303ms
+#> ⠇ 38 done (122/s) | 311ms
+#> ⠏ 39 done (123/s) | 319ms
+#> ⠋ 40 done (123/s) | 326ms
+#> ⠙ 41 done (123/s) | 334ms
+#> ⠹ 42 done (123/s) | 342ms
+#> ⠸ 43 done (123/s) | 350ms
+#> ⠼ 44 done (123/s) | 357ms
+#> ⠴ 45 done (123/s) | 365ms
+#> ⠦ 46 done (124/s) | 373ms
+#> ⠧ 47 done (124/s) | 380ms
+#> ⠇ 48 done (124/s) | 388ms
+#> ⠏ 49 done (124/s) | 395ms
+#> ⠋ 50 done (124/s) | 403ms
+#> ⠙ 51 done (124/s) | 411ms
+#> ⠹ 52 done (125/s) | 418ms
+#> ⠸ 53 done (125/s) | 426ms
+#> ⠼ 54 done (125/s) | 433ms
+#> ⠴ 55 done (125/s) | 441ms
+#> ⠦ 56 done (125/s) | 448ms
+#> ⠧ 57 done (125/s) | 456ms
+#> ⠇ 58 done (125/s) | 463ms
+#> ⠏ 59 done (125/s) | 471ms
+#> ⠋ 60 done (126/s) | 478ms
+#> ⠙ 61 done (126/s) | 485ms
+#> ⠹ 62 done (126/s) | 493ms
+#> ⠸ 63 done (126/s) | 500ms
+#> ⠼ 64 done (126/s) | 507ms
+#> ⠴ 65 done (125/s) | 519ms
+#> ⠦ 66 done (125/s) | 527ms
+#> ⠧ 67 done (126/s) | 534ms
#> # A tibble: 1 × 6
#> expression min median `itr/sec` mem_alloc `gc/sec`
#> <bch:expr> <bch:> <bch:> <dbl> <bch:byt> <dbl>
-#> 1 cli_progress_update(force = … 6.84ms 6.94ms 141. 265KB 2.02
+#> 1 cli_progress_update(force = … 7.04ms 7.54ms 131. 265KB 2.02
cli_progress_done()
vignettes/progress.Rmd
progress.Rmd
vignettes/semantic-cli.Rmd
semantic-cli.Rmd
-#> This is sub-process 15418 from callr -#> [1] 15418 +#> This is sub-process 15568 from callr +#> [1] 15568
vignettes/usethis-ui.Rmd
usethis-ui.Rmd
tag, cli_ol() creates node