Skip to content

Commit

Permalink
Added -O3
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 14, 2010
1 parent ec17061 commit 1c7ed68
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

CC = gcc
CFLAGS = -std=c99 -Wall
CFLAGS = -O3 -std=c99 -Wall

SRCS = src/list.c \
src/node.c \
Expand Down
11 changes: 6 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@ List iteration:

$ make benchmark

10,000,000 nodes
10,000,000 nodes

pushed: 0.8945s
unshifted: 0.9677s
find (last node): 0.1090s
iterate: 0.1029s
pushed: 0.5949s
unshifted: 0.5977s
find (last node): 0.0545s
iterate: 0.0558s

## Testing

$ make test
Expand Down

0 comments on commit 1c7ed68

Please sign in to comment.