Coder Social home page Coder Social logo

easyfmxu / gcburn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexyakunin/gcburn

0.0 1.0 0.0 180 KB

Garbage collection / allocation performance tests for various languages (for now, just C# / .NET and Go)

License: Apache License 2.0

C# 59.54% Batchfile 3.93% Go 32.95% Shell 3.58%

gcburn's Introduction

GCBurn

Garbage collection / allocation performance tests for C# / .NET and Go.

Description and results

Please see Go vs C#, part 2: Garbage Collection.

Other useful links:

Running GCBurn

Prerequisites:

  1. Install .NET Core SDK: https://www.microsoft.com/net/download
  2. Install Go: https://golang.org/doc/install?download

To run a single test, use run or Run.bat scripts; --help option shows all other options you can use.

To run a sequence of tests, use test-all or Test-All.bat scripts, and likely, that's the way you want to run it. There are two options:

  • -o OUTPUT_SUFFIX_STRING changes the names of its output files from *-Default.txt to *-OUTPUT_SUFFIX_STRING.txt
  • -d DURATION_IN_SECONDS sets the duration of a single GCBurn test pass. The default duration is 2 minutes - we've found it's almost always enough to catch long Gen2 GC pauses on this test; besides that, setting it to larger values tends to crash Go more reliably on "Static set = 50+% RAM" test cases.

Contributing

If you are willing to translate the test to another language (e.g. Java) and share your findings, it would be simply amazing. Please contact me on Facebook if you need any help with this.

gcburn's People

Contributors

alexyakunin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.