mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-26 12:50:30 +00:00
Add multi-target support for performance tests
This commit is contained in:
@@ -63,7 +63,7 @@ def test_examples_protocol_asio_chat_client(env, extra_data):
|
||||
binary_file = os.path.join(dut1.app.binary_path, "asio_chat_client.bin")
|
||||
bin_size = os.path.getsize(binary_file)
|
||||
ttfw_idf.log_performance("asio_chat_client_size", "{}KB".format(bin_size // 1024))
|
||||
ttfw_idf.check_performance("asio_chat_client_size", bin_size // 1024)
|
||||
ttfw_idf.check_performance("asio_chat_client_size", bin_size // 1024, dut1.TARGET)
|
||||
# 1. start a tcp server on the host
|
||||
host_ip = get_my_ip()
|
||||
thread1 = Thread(target=chat_server_sketch, args=(host_ip,))
|
||||
|
||||
Reference in New Issue
Block a user