A comparison test showed that Flash and HTML5 performed differently on Mac and Windows platforms using different browsers, with no clear winner. This experiment was initiated by the "Streaming Media Research Center" in response to Steve Jobs's comments on Flash, which he called a "CPU Hog" at the time. Experimental results prove that the execution speed of HTML5 on Safari on the Mac platform is indeed faster than Flash, but this is not the case for other Mac and Windows browsers. The author of the experiment said, "Flash runs very well on computers with hardware acceleration. It is inaccurate to say that Flash is inefficient. Machines that use version 10.1 of Flash Player and turn on hardware acceleration have good performance no matter what platform and browser they are." Video speed improvement.”
During the experiment, the researchers discovered that Apple did not enable a hook that allows GPU-based H.264 video acceleration. In other words, HTML5 excels on Mac because of its video acceleration capabilities. The experiment executor expressed the hope that Apple will hang up relevant system hooks as soon as possible so that Apple can provide hardware acceleration functions for H.264.
HTML5 is only supported by the Chrome browser on the Windows platform. IE, Firefox, and the Windows version of Safari do not provide native support. It should also be pointed out that Flash Player 10.1 enables hardware video acceleration on the Windows platform.
The "Streaming Media Research Center" noted that "when it comes to video playback, hardware acceleration is the only factor that affects the CPU load. Flash can use hardware acceleration on the Windows platform, so the load is reduced to a reasonable level. If video acceleration is allowed, then Regardless of whether it is a Mac or iPhone operating system, the performance of Flash and HTML5 will be almost the same, almost negligible.”
Since the iPad once again announced that it does not support Flash and Apple has fully opened fire on Flash, doubts about Flash have been on the rise. As the world's largest video website, Youtube provides video support in both HTML5 and Flash formats.