Giter Site home page Giter Site logo

paulwratt / gcc_perf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bitbank2/gcc_perf

0.0 1.0 0.0 50 KB

Test ARM/X86 C/SIMD/ASM perf on 32-bit and 64-bit Linux to see machine/compiler differences

License: GNU General Public License v3.0

C 79.10% Makefile 1.21% Assembly 19.69%

gcc_perf's Introduction

GCC/SIMD/ASM PERFORMANCE TESTS

Written by Larry Bank
Project started 3/16/2016

The gcc_perf project is to test the CPU performance (float/int) on Intel+ARM
devices in 32-bit and 64-bit mode. The purpose is to see what the differences
can be attributed to the execution mode and what can be attributed to the
C compiler (GCC).

Running the tests:
------------------
If you run the test program with no parameters, it will run through
every function and test the performance on small and large buffers. The
numbers represent the time in milliseconds to run thousands of iterations
of each test.

A single numerical parameter will run a single test:
gcc_perf 2 will run test number 2. To get a list of what functions
are available use a parameter of -1. Here is sample output for
one of the functions:

Multiply Complex C (bigger than cache) = 5070ms
Multiply Complex SIMD (bigger than cache) = 2604ms
Multiply Complex ASM (bigger than cache) = 2554ms

gcc_perf's People

Contributors

bitbank2 avatar joaofl avatar thehonestmaker 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.