hsauro / mandelbrot Goto Github PK
View Code? Open in Web Editor NEWSimple Mandelbrot viewer to compare VCL to Skia drawing speed
Simple Mandelbrot viewer to compare VCL to Skia drawing speed
If you want to test for time
Add time to your demo
Hello @hsauro! How are you? I'm glad you're using the library.
I came here because I would like to add a note:
This madelbrot test does not reflect the actual speed of Skia4Delphi, in fact, it is only measured reading and writing pixels. The fastest way to draw a madelbrot is to use the GPU as the Skia backend. We haven't done any examples of how to use GPU in Skia backend in VCL version yet, but we did in FMX version.
So, based on Skia4Delphi for FMX (which renders with the GPU), I made a small demo of how fast this drawing can be using Skia4Delphi v3+: mandelbrot.zip
Results:
Description | Time |
---|---|
First mandelbrot draw | 57 ms |
Subsequent mandelbrot draws | 1 ~15 ms |
The first draw is slower as there is a GLSL compilation and code initialization on the GPU. The next draws are much faster, even after resizes (which would rule out the internal cache hypothesis).
Here's the video:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.