Surface vs. Overlay

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Okay, I set up an application that runs several tests and outputs the results to the console. It tests the speed of functions like set pixel, draw line, save, etc.
    The result is copied to the clipboard (with bbcode formatting), just paste it here.

    I'll start right away:

    Create: 0.002s - [color:#800000]3.99x as slow[/color]
    Resize: 0.121s - [color:#008000]1.37x as fast[/color]
    Add Point: 0.006s - [color:#008000]1.05x as fast[/color]
    Polygon: 0.465s - [color:#008000]1.09x as fast[/color]
    Pixel: 2.773s - [color:#008000]1.01x as fast[/color]
    Ellipse: 0.356s - [color:#008000]1.46x as fast[/color]
    Load Bitmap: 0.003s - [color:#008000]1.87x as fast[/color]

    [color:#008000]Surface was 1.07267x as fast[/color]

  • Create: 0.004s - [color:#800000]2.21x as slow[/color]
    Resize: 0.416s - [color:#008000]2.08x as fast[/color]
    Add Point: 0.012s - [color:#008000]1.06x as fast[/color]
    Polygon: 0.894s - [color:#800000]1.10x as slow[/color]
    Pixel: 5.429s - [color:#008000]1.00x as fast[/color]
    Ellipse: 0.625s - [color:#008000]1.50x as fast[/color]
    Load Bitmap: 0.005s - [color:#008000]1.87x as fast[/color]

    [color:#008000]Surface was 1.09381x as fast[/color]

    Jean Villy Edberg

  • Thanks. :) Welcome back ;)
    Tested on another PC:

    Create: 0.002s - [color:#800000]2.27x as slow[/color]
    Resize: 0.198s - [color:#008000]1.67x as fast[/color]
    Add Point: 0.007s - [color:#008000]1.09x as fast[/color]
    Polygon: 0.555s - [color:#800000]1.13x as slow[/color]
    Pixel: 2.890s - [color:#008000]1.03x as fast[/color]
    Ellipse: 0.531s - [color:#008000]1.43x as fast[/color]
    Load Bitmap: 0.005s - [color:#008000]1.73x as fast[/color]

    [color:#008000]Surface was 1.0931x as fast[/color]

    I guess the results are pretty good - Not sure about the Create thing, but my object simply has to allocate more than the Overlay does.

    Please login to see this link.

  • Create: 0.003s - [color:#800000]3.02x as slow[/color]
    Resize: 0.234s - [color:#008000]1.34x as fast[/color]
    Add Point: 0.007s - [color:#008000]1.08x as fast[/color]
    Polygon: 0.349s - [color:#008000]1.24x as fast[/color]
    Pixel: 2.843s - [color:#800000]1.01x as slow[/color]
    Ellipse: 0.342s - [color:#008000]1.44x as fast[/color]
    Load Bitmap: 0.005s - [color:#008000]1.39x as fast[/color]

    [color:#008000]Surface was 1.07975x as fast[/color]

  • Create: 0.007s - [color:#800000]2.83x as slow[/color]
    Resize: 0.921s - [color:#008000]1.90x as fast[/color]
    Add Point: 0.012s - [color:#800000]1.03x as slow[/color]
    Polygon: 1.184s - [color:#800000]1.24x as slow[/color]
    Pixel: 8.143s - [color:#008000]1.19x as fast[/color]
    Ellipse: 1.045s - [color:#008000]1.55x as fast[/color]
    Load Bitmap: 0.008s - [color:#008000]1.77x as fast[/color]

    [color:#008000]Surface was 1.24363x as fast[/color]

    Stephen1980

    _____________________________________________
    Please login to see this link. -Need extensions? Send me a PM.-

  • Create: 0.002s - [color:#800000]3.80x as slow[/color]
    Resize: 0.100s - [color:#008000]1.54x as fast[/color]
    Add Point: 0.005s - [color:#008000]1.05x as fast[/color]
    Polygon: 0.437s - [color:#008000]1.22x as fast[/color]
    Pixel: 2.292s - [color:#008000]1.01x as fast[/color]
    Ellipse: 0.391s - [color:#008000]1.38x as fast[/color]
    Load Bitmap: 0.002s - [color:#008000]2.08x as fast[/color]

    [color:#008000]Surface was 1.09819x as fast[/color]

  • I will check my desktop computer when I get home.

    My laptop:

    Create: 0.003s - [color:#800000]2.41x as slow[/color]
    Resize: 0.309s - [color:#008000]1.54x as fast[/color]
    Add Point: 0.007s - [color:#008000]1.05x as fast[/color]
    Polygon: 0.594s - [color:#008000]1.06x as fast[/color]
    Pixel: 3.108s - [color:#008000]1.01x as fast[/color]
    Ellipse: 0.673s - [color:#008000]1.42x as fast[/color]
    Load Bitmap: 0.007s - [color:#008000]1.32x as fast[/color]

    [color:#008000]Surface was 1.10912x as fast[/color]

    Please login to see this picture. Please login to see this link. - Please login to see this picture.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!