Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for perf_counter (0.05 sec)

  1. docs/ru/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    /// tip | Примечание
    
    Мы используем <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> вместо `time.time()` для обеспечения большей точности наших примеров. 🤓
    
    ///
    
    ## Другие middleware
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 28 17:09:29 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    /// tip
    
    Here we use <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> instead of `time.time()` because it can be more precise for these use cases. 🤓
    
    ///
    
    ## Multiple middleware execution order { #multiple-middleware-execution-order }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. docs/uk/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    
    /// tip | Підказка
    
    Тут ми використовуємо <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> замість `time.time()` оскільки він може бути більш точним для таких випадків. 🤓
    
    ///
    
    ## Інші middlewares
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:35:33 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/middleware.md

    {* ../../docs_src/middleware/tutorial001.py hl[10,12:13] *}
    
    /// tip | Consejo
    
    Aquí usamos <a href="https://docs.python.org/3/library/time.html#time.perf_counter" class="external-link" target="_blank">`time.perf_counter()`</a> en lugar de `time.time()` porque puede ser más preciso para estos casos de uso. 🤓
    
    ///
    
    ## Otros middlewares
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * 📝 Add note about `time.perf_counter()` in middlewares. PR [#12095](https://github.com/fastapi/fastapi/pull/12095) by [@tiangolo](https://github.com/tiangolo).
    * 📝 Tweak middleware code sample `time.time()` to `time.perf_counter()`. PR [#11957](https://github.com/fastapi/fastapi/pull/11957) by [@domdent](https://github.com/domdent).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top