Home
last modified time | relevance | path

Searched refs:Bencher (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/commonlibrary/rust/ylong_json/benches/
H A Ddeserialize_json_cmp.rs24 use test::Bencher;
31 fn null_deserialize_perf_ylong_json(b: &mut Bencher) { in null_deserialize_perf_ylong_json() argument
40 fn boolean_deserialize_perf_ylong_json(b: &mut Bencher) { in boolean_deserialize_perf_ylong_json() argument
49 fn number_deserialize_perf_ylong_json(b: &mut Bencher) { in number_deserialize_perf_ylong_json() argument
58 fn string_deserialize_perf_ylong_json(b: &mut Bencher) { in string_deserialize_perf_ylong_json() argument
67 fn array_deserialize_perf_ylong_json(b: &mut Bencher) { in array_deserialize_perf_ylong_json() argument
85 fn exp1_deserialize_perf_ylong_json(b: &mut Bencher) { in exp1_deserialize_perf_ylong_json() argument
94 fn exp2_deserialize_perf_ylong_json(b: &mut Bencher) { in exp2_deserialize_perf_ylong_json() argument
103 fn exp3_deserialize_perf_ylong_json(b: &mut Bencher) { in exp3_deserialize_perf_ylong_json() argument
112 fn exp4_deserialize_perf_ylong_json(b: &mut Bencher) { in exp4_deserialize_perf_ylong_json() argument
[all …]
H A Dserialize_json_cmp.rs24 use test::Bencher;
31 fn null_serialize_perf_ylong_json(b: &mut Bencher) { in null_serialize_perf_ylong_json() argument
41 fn boolean_serialize_perf_ylong_json(b: &mut Bencher) { in boolean_serialize_perf_ylong_json() argument
51 fn number_serialize_perf_ylong_json(b: &mut Bencher) { in number_serialize_perf_ylong_json() argument
61 fn string_serialize_perf_ylong_json(b: &mut Bencher) { in string_serialize_perf_ylong_json() argument
71 fn array_serialize_perf_ylong_json(b: &mut Bencher) { in array_serialize_perf_ylong_json() argument
91 fn exp1_serialize_perf_ylong_json(b: &mut Bencher) { in exp1_serialize_perf_ylong_json() argument
101 fn exp2_serialize_perf_ylong_json(b: &mut Bencher) { in exp2_serialize_perf_ylong_json() argument
111 fn exp3_serialize_perf_ylong_json(b: &mut Bencher) { in exp3_serialize_perf_ylong_json() argument
121 fn exp4_serialize_perf_ylong_json(b: &mut Bencher) { in exp4_serialize_perf_ylong_json() argument
[all …]
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/benches/
H A Dsync_benchmarks.rs30 use test::Bencher;
35 fn single_thread_run_1000_fibbo(b: &mut Bencher) { in single_thread_run_1000_fibbo() argument
47 fn single_thread_run_task(b: &mut Bencher) { in single_thread_run_task() argument
56 fn std_read_file(b: &mut Bencher) { in std_read_file() argument
70 fn std_read_file_by_chars(b: &mut Bencher) { in std_read_file_by_chars() argument
86 fn std_write_file(b: &mut Bencher) { in std_write_file() argument
100 fn std_multi_threaded_ping(b: &mut Bencher) { in std_multi_threaded_ping() argument
118 fn std_multi_threaded_ping_pong(b: &mut Bencher) { in std_multi_threaded_ping_pong() argument
H A Dylong_tokio_rwlock.rs33 use test::Bencher;
49 fn tokio_rwlock_read(b: &mut Bencher) { in tokio_rwlock_read() argument
73 fn ylong_rwlock_read(b: &mut Bencher) { in ylong_rwlock_read() argument
98 fn tokio_rwlock_write(b: &mut Bencher) { in tokio_rwlock_write() argument
122 fn ylong_rwlock_write(b: &mut Bencher) { in ylong_rwlock_write() argument
148 fn tokio_rwlock_write_read(b: &mut Bencher) { in tokio_rwlock_write_read() argument
179 fn ylong_rwlock_write_read(b: &mut Bencher) { in ylong_rwlock_write_read() argument
H A Dylong_tokio_async_file.rs33 fn async_read(b: &mut Bencher) {
57 fn async_read_by_chars(b: &mut Bencher) {
83 fn async_write(b: &mut Bencher) {
108 use test::Bencher;
127 use test::Bencher;
H A Dylong_tokio_task_creation.rs26 fn $bench(b: &mut Bencher) {
42 fn $bench(b: &mut Bencher) {
58 fn $bench(b: &mut Bencher) {
77 fn $bench(b: &mut Bencher) {
98 use test::Bencher;
H A Dylong_tokio_udp.rs28 use test::Bencher;
40 fn ylong_udp_connect(b: &mut Bencher) { in ylong_udp_connect() argument
60 fn tokio_udp_connect(b: &mut Bencher) { in tokio_udp_connect() argument
83 fn ylong_udp_send_recv(b: &mut Bencher) { in ylong_udp_send_recv() argument
130 fn tokio_udp_send_recv(b: &mut Bencher) { in tokio_udp_send_recv() argument
170 fn ylong_udp_send_to_recv_from(b: &mut Bencher) { in ylong_udp_send_to_recv_from() argument
213 fn tokio_udp_send_to_recv_from(b: &mut Bencher) { in tokio_udp_send_to_recv_from() argument
H A Dylong_tokio_spawn_blocking.rs27 fn $bench(b: &mut Bencher) {
49 fn $bench(b: &mut Bencher) {
72 use test::Bencher;
86 use test::Bencher;
H A Dylong_tokio_multi_threaded.rs53 fn $test(b: &mut Bencher) {
81 use test::Bencher;
93 fn chained_spawn(b: &mut Bencher) { in chained_spawn() argument
125 use test::Bencher;
137 fn chained_spawn(b: &mut Bencher) { in chained_spawn() argument
H A Dylong_tokio_schedule.rs24 fn $bench(b: &mut Bencher) {
47 fn $bench(b: &mut Bencher) {
71 use test::Bencher;
88 use test::Bencher;
H A Dylong_tokio_runtime_init.rs27 use test::Bencher;
30 fn tokio_init(b: &mut Bencher) { in tokio_init() argument
38 fn ylong_init(b: &mut Bencher) { in ylong_init() argument
H A Dylong_tokio_file.rs52 fn $bench(b: &mut Bencher) {
76 fn $bench(b: &mut Bencher) {
102 fn $bench(b: &mut Bencher) {
130 fn $bench(b: &mut Bencher) {
171 use test::Bencher;
207 use test::Bencher;
H A Dylong_tokio_signal.rs30 fn $bench(b: &mut Bencher) {
58 fn $bench(b: &mut Bencher) {
79 fn $bench(b: &mut Bencher) {
107 fn $bench(b: &mut Bencher) {
134 use test::Bencher;
H A Dylong_tokio_bounded_mpsc.rs27 fn $bench(b: &mut Bencher) {
62 fn $bench(b: &mut Bencher) {
98 use test::Bencher;
114 use test::Bencher;
H A Dylong_tokio_unbounded_mpsc.rs27 fn $bench(b: &mut Bencher) {
62 fn $bench(b: &mut Bencher) {
98 use test::Bencher;
113 use test::Bencher;
H A Dylong_tokio_process.rs26 fn $bench(b: &mut Bencher) {
52 fn $bench(b: &mut Bencher) {
80 use test::Bencher;
H A Dylong_tokio_mutex.rs32 fn $bench(b: &mut Bencher) {
64 fn $bench(b: &mut Bencher) {
97 use test::Bencher;
H A Dylong_tokio_tcp.rs55 fn $bench(b: &mut Bencher) {
107 fn $bench(b: &mut Bencher) {
135 use test::Bencher;
H A Dylong_tokio_uds.rs56 fn $bench(b: &mut Bencher) {
110 fn $bench(b: &mut Bencher) {
137 use test::Bencher;