diff options
Diffstat (limited to 'src/feature_flags.zig')
-rw-r--r-- | src/feature_flags.zig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/feature_flags.zig b/src/feature_flags.zig index ebaf8e0f8..1772cfb77 100644 --- a/src/feature_flags.zig +++ b/src/feature_flags.zig @@ -79,3 +79,20 @@ pub const include_filename_in_jsx = false; pub const verbose_analytics = false; pub const disable_compression_in_http_client = false; + +// Not sure why... +// But this is slower! +// ~/Build/throw +// ❯ hyperfine "bun create react3 app --force --no-install" --prepare="rm -rf app" +// Benchmark #1: bun create react3 app --force --no-install +// Time (mean ± σ): 974.6 ms ± 6.8 ms [User: 170.5 ms, System: 798.3 ms] +// Range (min … max): 960.8 ms … 984.6 ms 10 runs + +// ❯ mv /usr/local/opt/libgit2/lib/libgit2.dylib /usr/local/opt/libgit2/lib/libgit2.dylib.1 + +// ~/Build/throw +// ❯ hyperfine "bun create react3 app --force --no-install" --prepare="rm -rf app" +// Benchmark #1: bun create react3 app --force --no-install +// Time (mean ± σ): 306.7 ms ± 6.1 ms [User: 31.7 ms, System: 269.8 ms] +// Range (min … max): 299.5 ms … 318.8 ms 10 runs +pub const use_libgit2 = true; |