mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
test 16 => 8
This commit is contained in:
parent
ba5c8f57cf
commit
89a4722b20
@ -393,7 +393,7 @@ void Unit::test_route_rtt() {
|
||||
|
||||
void Unit::test_route_performance() {
|
||||
//return;
|
||||
ipc::detail::static_for<16>([](auto index) {
|
||||
ipc::detail::static_for<8>([](auto index) {
|
||||
test_prod_cons<ipc::route, 1, decltype(index)::value + 1, false>();
|
||||
});
|
||||
test_prod_cons<ipc::route, 1, 8>(); // test & verify
|
||||
@ -467,13 +467,13 @@ void Unit::test_channel_rtt() {
|
||||
}
|
||||
|
||||
void Unit::test_channel_performance() {
|
||||
ipc::detail::static_for<16>([](auto index) {
|
||||
ipc::detail::static_for<8>([](auto index) {
|
||||
test_prod_cons<ipc::channel, 1, decltype(index)::value + 1, false>();
|
||||
});
|
||||
ipc::detail::static_for<16>([](auto index) {
|
||||
ipc::detail::static_for<8>([](auto index) {
|
||||
test_prod_cons<ipc::channel, decltype(index)::value + 1, 1, false>();
|
||||
});
|
||||
ipc::detail::static_for<16>([](auto index) {
|
||||
ipc::detail::static_for<8>([](auto index) {
|
||||
test_prod_cons<ipc::channel, decltype(index)::value + 1,
|
||||
decltype(index)::value + 1, false>();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user