Most of this time is spent in gcc. This can be seen if you grep the log file for "Finished Cythonizing". The commands following it are all gcc/g++ commands.
On Monday, May 12, 2014 7:30:20 PM UTC+8, Volker Braun wrote: > > Is the time spent in gcc or in Cython or both? > > > On Monday, May 12, 2014 12:54:23 PM UTC+2, P Purkayastha wrote: >> >> Here is some more information. I checked out ticket/16325 and it differs >> from develop by only two commits to a single file. >> >> ~/Installations/sage-git» git l -n 3 >> * 2ecec6b - (HEAD, refs/heads/ticket/16325) bordercolor must not be a >> list. Fix this error. 24 hours ago <Punarbasu Purkayastha> >> * 2b1a65b - Enable fillcolor and bordercolor for implicit_plot 24 hours >> ago <Punarbasu Purkayastha> >> * fa885d9 - (refs/remotes/origin/develop, refs/heads/develop) Updated >> Sage version to 6.3.beta0 2 days ago <Volker Braun>% >> >> CCACHE is in the environment >> >> ~/Installations/sage-git» set|grep CCA >> Binary file (standard input) matches >> ~/Installations/sage-git» env|grep CCA >> SAGE_INSTALL_CCACHE=yes >> >> I had just finished running sage -upgrade (and there was nothing to >> upgrade in reality - see my previous emails), so the commands below are run >> immediately after this upgrade command. >> >> ~/Installations/sage-git» local/bin/ccache -s >> cache directory /home/punarbasu/.ccache >> cache hit (direct) 4002297 >> cache hit (preprocessed) 166297 >> cache miss 206048 >> called for link 2019701 >> called for preprocessing 21331 >> multiple source files 226 >> compiler produced stdout 40 >> compile failed 6261 >> preprocessor error 3187 >> bad compiler arguments 3602 >> unsupported source language 12963 >> autoconf compile/link 46173 >> unsupported compiler option 12682 >> no input file 19175 >> files in cache 24529 >> cache size 3.5 Gbytes >> max cache size 4.0 Gbytes >> >> ~/Installations/sage-git» git co ticket/16325 >> Switched to branch 'ticket/16325' >> ~/Installations/sage-git» time sage -ba >& ~/sage.log >> y >> sage -ba >&~/sage.log 101.00s user 25.62s system 50% cpu 4:13.18 total >> >> >> ~/Installations/sage-git» local/bin/ccache -s >> cache directory /home/punarbasu/.ccache >> cache hit (direct) 4002676 >> cache hit (preprocessed) 166331 >> cache miss 206066 >> called for link 2020083 >> called for preprocessing 21331 >> multiple source files 226 >> compiler produced stdout 40 >> compile failed 6261 >> preprocessor error 3187 >> bad compiler arguments 3602 >> unsupported source language 12963 >> autoconf compile/link 46173 >> unsupported compiler option 12682 >> no input file 19180 >> files in cache 24565 >> cache size 3.5 Gbytes >> max cache size 4.0 Gbytes >> >> >> The time required (4 min) is much better than yesterday, but still too >> long. Is this to be expected? The log file sage.log is attached. >> >> A copy of all the files is kept in src/build/lib.* - can it not just >> check the diff between those and the files in src/sage and decide which >> ones need recompiling? >> >> >> On Monday, May 12, 2014 6:32:07 PM UTC+8, Volker Braun wrote: >>> >>> Try "sage -ba". If it is not very fast, tell us why cycache is not >>> working on your machine. >>> >>> >>> >>> On Monday, May 12, 2014 12:13:31 PM UTC+2, P Purkayastha wrote: >>>> >>>> All of this was on 6.3.beta0 >>>> On May 12, 2014 5:46 PM, "Volker Braun" <vbrau...@gmail.com> wrote: >>>> >>>>> With ccache and cycache the recompliation time of extension modules is >>>>> negligible. Should work automatically for Sage >= 6.2.rc0 >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.