This week I started porting my code (C and SIMD) to the new EPS32-S31 and was curious how it compares to the P4 and S3 in terms of execution speed.
As you can see in the spreadsheet above, integer code executed from FLASH isn't dramatically faster compared to the S3 or C5. I think the S31's RISC-V core is very similar to the C5's, but the 33% clock speed increase didn't result in 33% faster code execution. This is probably the FLASH latency holding things back.
However... PSRAM is a very different story. The S31 docs say that the FLASH is on a separate OPI bus from the internal PSRAM. This means that PSRAM accesses can occur at the same time as reading from program FLASH. The PSRAM speed is also twice as fast as the S3's. These 2 changes mean that the performance penalty for using PSRAM vs SRAM is much less on the S31 compared to the S3.
My next test was to try my AnimatedGIF library with different options of PSRAM / SRAM usage.…