search for: cpuprofile

Displaying 5 results from an estimated 5 matches for "cpuprofile".

Did you mean: cg_profile
2020 Aug 24
2
MultiDatabase shard count limitations
Olly Betts <olly at survex.com> wrote: > The report you show seems to be just the time take by each function > directly rather than including functions it calls. It looks like a lot > of the time is spent in cursor movement, as totalling up things that > seem like they'd be due to that I quickly get to 40+% but it's hard > to tell if that's about the actual total
2020 Aug 24
0
MultiDatabase shard count limitations
...ad the filename as a URL - that rarely seems helpful, but in particular makes for a confusing error message. The docs say to link with -lprofiler but it seems to work fine to LD_PRELOAD it and I find that easier to work with so I use it like so: LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libprofiler.so CPUPROFILE=$HOME/prof.out /usr/bin/xapian-compact /mnt/data/scratch/text/tmp06.db /mnt/data/scratch/text/06.db google-pprof /usr/bin/xapian-compact $HOME/prof.out At the prompt inside, "gv" renders a callgraph in postscript and "callgrind" generates a file like that from valgrind's ca...
2020 Aug 25
2
MultiDatabase shard count limitations
...t rarely seems helpful, but in particular makes for a confusing > error message. > > The docs say to link with -lprofiler but it seems to work fine to > LD_PRELOAD it and I find that easier to work with so I use it like so: > > LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libprofiler.so CPUPROFILE=$HOME/prof.out /usr/bin/xapian-compact /mnt/data/scratch/text/tmp06.db /mnt/data/scratch/text/06.db Ah, thanks, I managed to get that part working and generated a prof.out file, at least > google-pprof /usr/bin/xapian-compact $HOME/prof.out > > At the prompt inside, "gv" rende...
2009 Jun 28
2
sprof works on your Debian/Ubuntu ?
I'm asking here, rather than R-devel, because it seems to be a Linux specific question and because I'm using Ubuntu-9.04. I'm trying to profile an package, and got errors, so I decided to follow BDR's (http://tolstoy.newcastle.edu.au/R/devel/06/02/4254.html) example exactly, and got same problem. Can anyone replicate? $ sudo mkdir -p /var/tmp//usr/lib/R/library/stats/libs $
2017 Aug 02
2
llvm-trunk errors with gcc-5.3.0 on SuSE Linux
...nk/llvm/tools/clang/lib/Basic/Targets.cpp:5364:10: error: 'AK_ARMV8R' is not a member of 'llvm::ARM' case llvm::ARM::AK_ARMV8R: ^ /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp: In member function 'llvm::StringRef {anonymous}::ARMTargetInfo::getCPUProfile() const': /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5371:10: error: 'PK_A' is not a member of 'llvm::ARM' case llvm::ARM::PK_A: ^ /export2/src/llvm-trunk/llvm/tools/clang/lib/Basic/Targets.cpp:5373:10: error: 'PK_R' is not a member...