search for: timeit

Displaying 20 results from an estimated 32 matches for "timeit".

Did you mean: time_t
2014 May 16
5
[LLVMdev] Use perf tool for more accurate time measuring on Linux
...t is a user-space tool, the OS can context switch it and we will get an outlier result. Perf stat uses SW_TASK_CLOCK counter in kernel to measure time, therefore more accurate. It also does not get context switched. I've implemented a wrapper script over perf stat which mimics the behaviour of timeit tool in test suite, so that nothing else needs to be modified. The script is not yet feature complete as timeit, but enough to run nightly tests. I carried out experiments on several machines and saw different level of improvements. I am no longer seeing outlier results, and MAD is considerably lo...
2013 Jul 25
0
[LLVMdev] [LNT][Patch] Bug 16261 - lnt incorrectly builds timeit-target when one is using a simulator
...ode for benchmarking; > just as a way to run test-suite to test whether the code is correct. > > Qemu user mode emulates target instructions, but when it gets a Unix > Kernel trap, it uses the host to emulate those. > > For example, file I/O. > > It is possible to run target timeit under qemu and let it launch the app > or a wrapper. > (But it is more limited as to what can be done here under qemu vs under > the host OS directly). > > For time functions, it is also going to use the host to emulate those. > > So whether timeit is running under qemu or dire...
2019 Sep 25
2
Help with RISCV and QEMU in llvm testsuite lit testing
...eference file. FAIL: test-suite :: SingleSource/Regression/C/Regression-C-2003-06-16-InvalidInitializer.test (1 of 35) ******************** TEST 'test-suite :: SingleSource/Regression/C/Regression-C-2003-06-16-InvalidInitializer.test' FAILED ******************** /òpt/llvm-test/build/tools/timeit --limit-core 0 --limit-cpu 7200 --timeout 7200 --limit-file-size 104857600 --limit-rss-size 838860800 --redirect-input /dev/null --chdir /òpt/llvm-test/build/SingleSource/Regression/C --summary /òpt/llvm-test/build/SingleSource/Regression/C/Output/Regression-C-2003-06-16-InvalidInitializer.test.tim...
2014 Aug 15
2
[LLVMdev] test-suite RunSafely.sh remote execution with test copy
...el in the following ways: 1. uses scp/rcp to copy files from the host running test-suite instead of assuming an identical tree on the remote device. 2. expects the remote device to have the mktemp command to create the temporary workspace (usually under /tmp/*) 3. expects the remote device to have timeit installed in its path. If timeit were compiled statically I could scp the one passed into RunSafely.sh to the destination. Hosts with a different libc than the tested compiler (Android, embedded uClibc devices) cannot run the dynamically-linked timeit. 4. It's a bit slower due to all the networ...
2012 Oct 26
4
[LLVMdev] Configuring test-suite
...ng to the dir where it built, and typing: $ make -C tools/ make: Entering directory `/home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools' make -C /home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools all \ ORIGINAL_CC="cc" \ ORIGINAL_CXX="cc" o timeit-target /home/rengolin/devel/llvm/test-suite/tools/timeit.c -O3 make: o: Command not found make: [timeit-target] Error 127 (ignored) E -o TargetConfig.mk -x c /home/rengolin/devel/llvm/test-suite/tools/TargetConfig.mk.in make: E: Command not found make: [TargetConfig.mk] Error 127 (ignored) ......
2013 Jun 07
2
[LLVMdev] tools build issue with lnt in cross platform testing
I want to get lnt to use qemu for the execution. In that case, RHOST= is not set. But I change the Arch because I am going to run in cross mode. Then I'm setting RUNUNDER to be a script which runs qemu. In this case it builds timeit-target as a Mips which fails because this is running on x86. ~/mysandbox/bin/lnt runtest nt --sandbox ~/mysandbox --cc /local/llvmpb_a/install/bin/clang --cflag "-target mipsel-linux-gnu -EL -mips16 -gcc-toolchain /mips/arch/overflow/codesourcery/mips-linux-gnu/pro/release/2011.09-90/Li...
2013 Jun 07
0
[LLVMdev] tools build issue with lnt in cross platform testing
The issues seems to be this line in the tools Makefile timeit-target: timeit.c $(LD_ENV_OVERRIDES) $(LCC) -o $@ $< $(LDFLAGS) $(CFLAGS) $(TARGET_FLAGS) -O3 It should not add target flags if we are simulating the target on the host. On 06/06/2013 06:59 PM, reed kotler wrote: > I want to get lnt to use qemu for the execution. > > In that case,...
2006 May 14
1
Suggestion for system.time()
Hi, people. A tiny suggestion for the system.time function. Could the returned vector have names? These could be like: c("User", "System", "Elapsed", "Sub.User", "Sub.System") That would then produce self-documenting output. -- Fran?ois Pinard http://pinard.progiciels-bpi.ca
2012 Oct 26
0
[LLVMdev] Configuring test-suite
...make -C tools/ > make: Entering directory > `/home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools' > make -C /home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools all \ > ORIGINAL_CC="cc" \ > ORIGINAL_CXX="cc" > o timeit-target /home/rengolin/devel/llvm/test-suite/tools/timeit.c -O3 > make: o: Command not found > make: [timeit-target] Error 127 (ignored) > E -o TargetConfig.mk -x c > /home/rengolin/devel/llvm/test-suite/tools/TargetConfig.mk.in > make: E: Command not found > make: [TargetConfig...
2014 May 16
2
[LLVMdev] Use perf tool for more accurate time measuring on Linux
...>> and we will get an outlier result. Perf stat uses SW_TASK_CLOCK >> counter in kernel to measure time, therefore more accurate. It also >> does not get context switched. >> >> I've implemented a wrapper script over perf stat which mimics the >> behaviour of timeit tool in test suite, so that nothing else needs to >> be modified. The script is not yet feature complete as timeit, but >> enough to run nightly tests. >> >> I carried out experiments on several machines and saw different level >> of improvements. I am no longer seeing...
2018 Jul 09
1
slow mailbox refreshes
Hello, I am using dovecot 2.3.2 on my private email server in conjunction with: centos 7.5 apache 2.4.6 mariadb 10.2.16 roundcube mail 1.3.6 php 5.6.36 postfix 2.10.1 I have one mailbox with nearly 30k messages in it dispersed across several folders. it's often very slow in refreshing the message list, especially in the one largest 25k+ message folder. is this simply to be expected
2012 Oct 27
0
[LLVMdev] Configuring test-suite
...make -C tools/ > make: Entering directory > `/home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools' > make -C /home/rengolin/devel/llvm/sandbox/test-2012-10-26_21-43-48/tools all \ > ORIGINAL_CC="cc" \ > ORIGINAL_CXX="cc" > o timeit-target /home/rengolin/devel/llvm/test-suite/tools/timeit.c -O3 > make: o: Command not found > make: [timeit-target] Error 127 (ignored) > E -o TargetConfig.mk -x c > /home/rengolin/devel/llvm/test-suite/tools/TargetConfig.mk.in > make: E: Command not found > make: [TargetConfig...
2014 Apr 21
2
[LLVMdev] 3.4.1 Regression caused by merging r198940
On Thu, Apr 17, 2014 at 09:57:32AM -0400, Tom Stellard wrote: > On Fri, Apr 11, 2014 at 03:02:21PM -0700, Tom Stellard wrote: > > Hi, > > > > I have just tagged the first release candidate for the > > 3.4.1 release, so testers may begin testing. Please refer to > > http://llvm.org/docs/ReleaseProcess.html for information on how to > > validate a release.
2014 May 20
2
[LLVMdev] Use perf tool for more accurate time measuring on Linux
I've set up a public LNT server to show the result of perf stat. There is a huge improvement compared with timeit tool. http://parkas16.inria.fr:8000/ Patch is updated to pin the process to a single core, the readings are even more accurate. It's hard coded to run everything on core 0, so don't run parallel testing with it for now. The tool now depends on Linux perf and schedtool. I'm running tes...
2020 Feb 06
3
[Release-testers] [10.0.0 Release] Release Candidate 1 is here
On Wed, Feb 5, 2020 at 9:30 PM Anil Mahmud <anil.mahmud.llvm at gmail.com> wrote: > > The following error was found when running test-release.sh on Red Hat 7.4 > > ******************** > FAIL: LLVM :: tools/llvm-ar/quick-append.test (53100 of 59657) > ******************** TEST 'LLVM :: tools/llvm-ar/quick-append.test' FAILED ******************** [...] >
2014 May 21
2
[LLVMdev] [RFC] Benchmarking subset of the test suite
...of blowfish. Are you sure this particular benchmark isn't > serving its purpose? Yes. As currently configured, the running time is much too short. On PPC64, the running time is <= 0.001s, and -O3 and -O0 cannot be statistically distinguished. On x86-64, the running time is even smaller (timeit reports 0.0000 for -O3 builds). -Hal > > > Evan -- Hal Finkel Assistant Computational Scientist Leadership Computing Facility Argonne National Laboratory
2012 Jan 28
2
Need very fast application of 'diff' - ideas?
...rating other languages, so I'm hoping the community has some ideas about how to approach this particular problem... Many thanks, Kevin In iPython: In [3]: import numpy as np In [4]: arr = np.random.randint(0, 1000, (10000000,1)).astype("int16") In [5]: arr1 = arr[1:].view() In [6]: timeit arr2 = arr1 - arr[:-1] 10 loops, best of 3: 20.1 ms per loop In Clojure: (defn subtract-lag [n] (let [v (take n (repeatedly rand))] (time (dorun (map - v (cons 0 v)))))) [[alternative HTML version deleted]]
2014 May 16
2
[LLVMdev] Use perf tool for more accurate time measuring on Linux
...erf stat uses SW_TASK_CLOCK >> >> counter in kernel to measure time, therefore more accurate. It also >> >> does not get context switched. >> >> >> >> I've implemented a wrapper script over perf stat which mimics the >> >> behaviour of timeit tool in test suite, so that nothing else needs to >> >> be modified. The script is not yet feature complete as timeit, but >> >> enough to run nightly tests. >> >> >> >> I carried out experiments on several machines and saw different level >> &g...
2012 Apr 28
0
[LLVMdev] Test-suite && sh: time: command not found
In running the test-suite (llvm 3.0), in the *.out.time files in the Output folder the following line appears: sh: time: command not found This occurs when the following lines are executed: #RunSafely.sh ( sh -c "$ULIMITCMD $TIMEIT -p sh -c '$COMMAND >$OUTFILE 2>&1 < $INFILE; echo exit \$?'" ) 2>&1 \ | awk -- '\ BEGIN { cpu = 0.0; } /^user/ { cpu += $2; print; } !/^user/ { print; } END { printf("program %f\n", cpu); }' > $OUTFILE.time where $TIMEIT = ti...
2014 Aug 01
3
[LLVMdev] Recent compile time performance regressions
...us. The closest to a something that could go > poorly would be r209798, but that commit doesn't seem plausible for a huge > slowdown. > > I wonder if there is something weird going on with the bot... 209797-209799 regression is false positive, due to reverting perf back to original timeit tool.(r209797) However the multithreading stuff is real regression and I'm able to reproduce same regression on my local build bots. -Yi