load("//test/runner:defs.bzl", "syscall_test")

package(licenses = ["notice"])

syscall_test(
    debug = False,
    test = "//test/perf/linux:clock_getres_benchmark",
)

syscall_test(
    debug = False,
    test = "//test/perf/linux:clock_gettime_benchmark",
)

syscall_test(
    debug = False,
    test = "//test/perf/linux:death_benchmark",
)

syscall_test(
    debug = False,
    test = "//test/perf/linux:epoll_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:fork_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:futex_benchmark",
)

syscall_test(
    size = "enormous",
    debug = False,
    shard_count = 10,
    tags = ["nogotsan"],
    test = "//test/perf/linux:getdents_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:getpid_benchmark",
)

syscall_test(
    size = "enormous",
    debug = False,
    tags = ["nogotsan"],
    test = "//test/perf/linux:gettid_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:mapping_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:open_benchmark",
)

syscall_test(
    debug = False,
    test = "//test/perf/linux:pipe_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:randread_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:read_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:sched_yield_benchmark",
)

syscall_test(
    size = "large",
    debug = False,
    test = "//test/perf/linux:send_recv_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:seqwrite_benchmark",
)

syscall_test(
    size = "enormous",
    debug = False,
    test = "//test/perf/linux:signal_benchmark",
)

syscall_test(
    debug = False,
    test = "//test/perf/linux:sleep_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:stat_benchmark",
)

syscall_test(
    size = "enormous",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:unlink_benchmark",
)

syscall_test(
    size = "large",
    add_overlay = True,
    debug = False,
    test = "//test/perf/linux:write_benchmark",
)