Skip to content

This repository contains the source code for an implementation of the merge sort algorithm using C and NIM programming languages. The purpose is to compare raw performance (memory footprint and CPU time consumption) of the resultant binaries under a platform running the GNU/Linux OS.

License

Notifications You must be signed in to change notification settings

rialg/C-vs-nim-little-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C vs nim little benchmark

Description

This repository contains the source code for an implementation of the merge sort algorithm using C and NIM programming languages. The purpose was to compare raw performance (memory size footprint and CPU time consumption) of the resultant binaries under a platform running the GNU/Linux OS.

System employed for testing

  • Linux: 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Distributor ID: Ubuntu
  • Description: Ubuntu 16.04.6 LTS
  • Release: 16.04
  • Codename: xenial
  • CPU(s): 4 x Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
  • MemTotal: 3841960 kB

How to run tests

  $ git clone https://github.com/grial1/C-vs-nim-little-benchmark benchmarks
  $ cd benchmarks
  $ make
  $ make run

Interesting links

About

This repository contains the source code for an implementation of the merge sort algorithm using C and NIM programming languages. The purpose is to compare raw performance (memory footprint and CPU time consumption) of the resultant binaries under a platform running the GNU/Linux OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published