1. 10 8月, 2023 4 次提交
  2. 09 8月, 2023 3 次提交
  3. 07 8月, 2023 7 次提交
  4. 06 8月, 2023 2 次提交
  5. 05 8月, 2023 1 次提交
  6. 04 8月, 2023 2 次提交
    • R
      docs/develop/gettingstarted: Clarify submodule initialization. · 7fad499d
      Rene Straub 提交于
      When building for a specific board this must be specified in make
      submodules.  I.e. make BOARD=STM32F769DISC submodules.
      Signed-off-by: NRene Straub <rene@see5.ch>
      7fad499d
    • D
      py/gc: Speed up incremental GC cycles by tracking the last used block. · 2dcd7454
      Damien Tournoud 提交于
      In applications that use little memory and run GC regularly, the cost of
      the sweep phase quickly becomes prohibitives as the amount of RAM
      increases.
      
      On an ESP32-S3 with 2 MB of external SPIRAM, for example, a trivial GC
      cycle takes a minimum of 40ms, virtually all of it in the sweep phase.
      
      Similarly, on the UNIX port with 1 GB of heap, a trivial GC takes 47 ms,
      again virtually all of it in the sweep phase.
      
      This commit speeds up the sweep phase in the case most of the heap is empty
      by keeping track of the ID of the highest block we allocated in an area
      since the last GC.
      
      The performance benchmark run on PYBV10 shows between +0 and +2%
      improvement across the existing performance tests.  These tests don't
      really stress the GC, so they were also run with gc.threshold(30000) and
      gc.threshold(10000).  For the 30000 case, performance improved by up to
      +10% with this commit.  For the 10000 case, performance improved by at
      least +10% on 6 tests, and up to +25%.
      Signed-off-by: NDamien George <damien@micropython.org>
      2dcd7454
  7. 01 8月, 2023 1 次提交
  8. 27 7月, 2023 2 次提交
  9. 25 7月, 2023 6 次提交
  10. 24 7月, 2023 9 次提交
  11. 21 7月, 2023 3 次提交