Skip to content

patrickhpan/alloc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

A quick test for comparing alloca vs. malloc performance. So far, just tests running alloca and malloc-free without doing anything. In the future, I may test performance after doing something non-trivial.

To compile: just use gcc. To use: alloca-test [num trials] [size of allocation]

About

Performance test of alloca vs malloc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages