Unbloat the build

This change resurrects ae5d06dc53
This commit is contained in:
Justine Tunney 2022-08-11 00:15:29 -07:00
parent 2d64b9994b
commit 10fd8bdb70
1397 changed files with 1204 additions and 5031 deletions

View file

@ -90,13 +90,13 @@ const char kTinyLinuxExit[128] = {
0x6a, 0x2a, 0x5f, 0x6a, 0x3c, 0x58, 0x0f, 0x05, // j*_j<X☼♣
};
BENCH(spawn, bench) {
int fd;
if (IsLinux()) {
fd = open("/tmp/tiny64", O_CREAT | O_TRUNC | O_WRONLY, 0755);
write(fd, kTinyLinuxExit, 128);
close(fd);
EZBENCH2("spawn", donothing, BenchmarkProcessLifecycle());
unlink("/tmp/tiny64");
}
}
/* BENCH(spawn, bench) { */
/* int fd; */
/* if (IsLinux()) { */
/* fd = open("/tmp/tiny64", O_CREAT | O_TRUNC | O_WRONLY, 0755); */
/* write(fd, kTinyLinuxExit, 128); */
/* close(fd); */
/* EZBENCH2("spawn", donothing, BenchmarkProcessLifecycle()); */
/* unlink("/tmp/tiny64"); */
/* } */
/* } */