Initial support for live code checker / lint.
JavaLintService parses the code as you type and displays all errors
and other problems. This is done by running compiler in check mode
in background. This also removes the necessity for JavaCompilerProblemRegistry.
"{ Package: 'stx:libjava/benchmarks' }"
JavaBenchmark subclass:#WrappedArguments
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'Benchmarks-Java-Micro'
!
!WrappedArguments methodsFor:'running'!
doSmth_i: i
^self
!
runBenchmarkS2J:n
| inst |
inst := JAVA stx libjava benchmarks WrappedArguments new.
^ Time
millisecondsToRun:[
1 to:n do:[:idx |
inst doSmth:idx.
].
].
"Created: / 31-10-2012 / 23:37:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
runBenchmarkS: n
| inst |
inst := self class new.
^ Time millisecondsToRun: [
1 to: n do:[:idx|
inst doSmth_i: idx.
].
].
"Created: / 31-10-2012 / 22:59:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!WrappedArguments class methodsFor:'documentation'!
version_CVS
^ '$Header: /cvs/stx/stx/libjava/benchmarks/WrappedArguments.st,v 1.3 2013-09-06 00:41:34 vrany Exp $'
!
version_HG
^ '$Changeset: <not expanded> $'
!
version_SVN
^ 'Id:: '
! !