#include "task.h"
#include "uv.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
◆ MAX_CONCURRENT_REQS
#define MAX_CONCURRENT_REQS 32 |
◆ NUM_ASYNC_REQS
#define NUM_ASYNC_REQS (1 * (int) 1e5) |
◆ NUM_SYNC_REQS
#define NUM_SYNC_REQS (10 * 1e5) |
◆ sync_stat
#define sync_stat |
( |
|
req, |
|
|
|
path |
|
) |
| |
◆ async_bench()
static void async_bench |
( |
const char * |
path | ) |
|
|
static |
◆ BENCHMARK_IMPL()
BENCHMARK_IMPL |
( |
fs_stat |
| ) |
|
◆ stat_cb()
static void stat_cb |
( |
uv_fs_t * |
fs_req | ) |
|
|
static |
◆ sync_bench()
static void sync_bench |
( |
const char * |
path | ) |
|
|
static |
◆ warmup()
static void warmup |
( |
const char * |
path | ) |
|
|
static |