mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
log: Add master log option
Closes https://github.com/espressif/esp-idf/issues/11049 Closes https://github.com/espressif/esp-idf/pull/11057 Signed-off-by: KonstantinKondrashov <konstantin@espressif.com> Result from an example in 11057: When this option is not enabled: 1000 iterations took 10914 microseconds (10.9 microseconds per invocation) 1000 iterations took 10909 microseconds (10.9 microseconds per invocation) When this option is enabled: 1000 iterations took 10960 microseconds (10.9 microseconds per invocation) 1000 iterations took 107 microseconds (0.1 microseconds per invocation)
This commit is contained in:

committed by
KonstantinKondrashov

parent
87dd7bb51a
commit
628b633e50
11
components/log/test_apps/pytest_esp_log.py
Normal file
11
components/log/test_apps/pytest_esp_log.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
# SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
|
||||
import pytest
|
||||
from pytest_embedded import Dut
|
||||
|
||||
|
||||
@pytest.mark.esp32
|
||||
@pytest.mark.generic
|
||||
def test_esp_log(dut: Dut) -> None:
|
||||
dut.run_all_single_board_cases()
|
Reference in New Issue
Block a user