Ammar Bandukwala
0d9010e150
chore: fix 30% startup time hit from userpassword ( #12769 )
...
pbkdf2 is too expensive to run in init, so this change makes it load
lazily. I introduced a lazy package that I hope to use more in my
`GODEBUG=inittrace=1` adventure.
Benchmark results:
```
$ hyperfine "coder --help" "coder-new --help"
Benchmark 1: coder --help
Time (mean ± σ): 82.1 ms ± 3.8 ms [User: 93.3 ms, System: 30.4 ms]
Range (min … max): 72.2 ms … 90.7 ms 35 runs
Benchmark 2: coder-new --help
Time (mean ± σ): 52.0 ms ± 4.3 ms [User: 62.4 ms, System: 30.8 ms]
Range (min … max): 41.9 ms … 62.2 ms 52 runs
Summary
coder-new --help ran
1.58 ± 0.15 times faster than coder --help
```
2024-03-26 20:47:14 -05:00
..
2024-03-21 16:47:06 +02:00
2024-03-13 12:03:36 +02:00
2024-03-26 12:44:31 -05:00
2024-01-22 11:42:55 -09:00
2024-01-29 12:17:31 +04:00
2024-03-22 15:10:32 -05:00
2024-01-23 14:33:55 -06:00
2023-10-30 19:44:29 +00:00
2024-01-02 09:30:36 +04:00
2023-12-18 22:53:28 +10:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2023-09-19 18:54:56 +00:00
2024-03-04 12:12:46 -06:00
2023-08-18 18:55:43 +00:00
2024-03-26 12:44:31 -05:00
2024-03-22 14:22:47 -05:00
2024-03-25 15:01:42 -04:00
2024-03-25 11:52:22 -08:00
2024-02-13 09:31:20 -05:00
2024-01-10 09:13:30 -06:00
2024-02-01 18:01:25 +01:00
2024-02-13 09:31:20 -05:00
2024-03-25 17:42:02 +02:00
2024-02-23 11:17:52 -06:00
2024-03-22 15:10:32 -05:00
2024-02-20 14:58:43 -09:00
2024-03-20 10:37:57 -05:00
2024-03-22 14:22:47 -05:00
2024-03-20 10:37:57 -05:00
2024-03-25 17:55:53 +02:00
2024-03-17 22:08:32 -05:00
2023-10-04 20:57:46 -05:00
2023-10-30 17:42:20 +00:00
2024-03-26 20:47:14 -05:00
2024-03-26 20:47:14 -05:00
2024-03-26 12:44:31 -05:00
2024-03-20 16:44:12 +00:00
2024-01-04 18:35:56 -06:00
2024-03-26 12:44:31 -05:00
2024-03-15 11:24:38 -05:00
2024-01-22 11:42:55 -09:00
2023-08-18 18:55:43 +00:00
2023-10-03 11:02:56 -06:00
2024-02-26 23:52:08 +00:00
2023-10-03 11:02:56 -06:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2023-08-18 18:55:43 +00:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2024-02-27 16:33:32 +00:00
2024-01-30 17:11:37 -06:00
2024-02-15 17:13:44 +01:00
2023-10-17 14:49:19 -04:00
2023-10-17 14:49:19 -04:00
2024-01-22 20:46:05 +00:00
2024-01-29 08:55:15 -06:00
2024-03-11 13:29:57 +00:00
2024-03-11 14:03:58 +00:00
2024-03-11 14:06:41 +00:00
2024-03-11 14:06:41 +00:00
2023-10-03 11:02:56 -06:00
2023-09-01 16:50:12 +00:00
2024-02-29 18:20:25 -06:00
2024-03-26 12:44:31 -05:00
2024-03-25 16:16:41 +02:00
2023-06-06 10:26:13 -05:00
2023-10-11 09:41:14 +04:00
2024-03-25 11:52:22 -08:00
2024-03-25 11:52:22 -08:00
2024-02-26 10:03:49 -06:00
2024-03-04 15:15:41 -06:00
2024-03-05 14:05:15 +00:00
2024-03-05 14:05:15 +00:00
2024-01-04 18:35:56 -06:00
2023-10-03 11:02:56 -06:00
2023-12-18 22:53:28 +10:00
2023-10-10 11:14:20 +01:00
2023-10-12 10:52:32 -05:00
2024-02-14 20:45:31 +04:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2024-03-20 10:37:57 -05:00
2024-02-21 11:18:38 -07:00
2024-02-26 08:27:33 -06:00
2023-08-18 18:55:43 +00:00
2023-08-18 18:55:43 +00:00
2023-12-04 10:01:45 -06:00
2024-03-05 14:46:00 +00:00
2024-03-06 07:29:28 -06:00
2024-03-15 11:24:38 -05:00
2024-03-12 09:27:36 -05:00
2024-03-06 09:23:57 -05:00
2024-03-06 09:23:57 -05:00
2024-03-26 12:44:31 -05:00
2024-03-26 12:44:31 -05:00
2024-02-01 08:18:35 +04:00
2024-02-07 22:26:42 +04:00
2024-03-14 12:27:32 -04:00
2024-03-15 11:24:38 -05:00
2024-01-22 11:42:55 -09:00
2024-02-15 13:33:13 +01:00
2024-02-15 17:13:44 +01:00
2024-01-18 09:44:05 -06:00
2024-01-18 09:44:05 -06:00
2023-10-03 11:02:56 -06:00
2023-08-18 18:55:43 +00:00
2024-03-22 14:22:47 -05:00
2024-03-20 16:44:12 +00:00