Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(10) |
Sep
(15) |
Oct
(7) |
Nov
(17) |
Dec
(13) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(7) |
Feb
(16) |
Mar
(10) |
Apr
(7) |
May
(1) |
Jun
(31) |
Jul
(10) |
Aug
(10) |
Sep
(17) |
Oct
(20) |
Nov
(9) |
Dec
(21) |
2002 |
Jan
(12) |
Feb
(14) |
Mar
(25) |
Apr
(35) |
May
(23) |
Jun
(16) |
Jul
(12) |
Aug
(66) |
Sep
(26) |
Oct
(5) |
Nov
(19) |
Dec
(33) |
2003 |
Jan
(41) |
Feb
(61) |
Mar
(8) |
Apr
(10) |
May
(27) |
Jun
(29) |
Jul
(15) |
Aug
(7) |
Sep
(17) |
Oct
(30) |
Nov
(26) |
Dec
(19) |
2004 |
Jan
(58) |
Feb
(42) |
Mar
(77) |
Apr
(33) |
May
(10) |
Jun
(53) |
Jul
(52) |
Aug
(38) |
Sep
(29) |
Oct
(50) |
Nov
(37) |
Dec
(51) |
2005 |
Jan
(73) |
Feb
(36) |
Mar
(76) |
Apr
(33) |
May
(89) |
Jun
(145) |
Jul
(41) |
Aug
(61) |
Sep
(19) |
Oct
(19) |
Nov
(38) |
Dec
(18) |
2006 |
Jan
(12) |
Feb
(3) |
Mar
(33) |
Apr
(20) |
May
(22) |
Jun
(12) |
Jul
(24) |
Aug
(8) |
Sep
(42) |
Oct
(8) |
Nov
(9) |
Dec
(9) |
2007 |
Jan
(5) |
Feb
(9) |
Mar
(11) |
Apr
(21) |
May
(50) |
Jun
(8) |
Jul
(13) |
Aug
(7) |
Sep
(8) |
Oct
(14) |
Nov
(3) |
Dec
(2) |
2008 |
Jan
(1) |
Feb
(6) |
Mar
(9) |
Apr
(16) |
May
(3) |
Jun
(19) |
Jul
(1) |
Aug
(19) |
Sep
(2) |
Oct
(9) |
Nov
(10) |
Dec
|
2009 |
Jan
(3) |
Feb
(2) |
Mar
(8) |
Apr
(8) |
May
|
Jun
|
Jul
(6) |
Aug
(8) |
Sep
(11) |
Oct
(2) |
Nov
(8) |
Dec
|
2010 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
(3) |
Jun
|
Jul
|
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
(9) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(5) |
Dec
(1) |
2012 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
(5) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
|
2014 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
(3) |
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
|
2
(1) |
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
(4) |
12
|
13
|
14
|
15
(2) |
16
|
17
|
18
(1) |
19
|
20
|
21
|
22
(1) |
23
|
24
|
25
|
26
(1) |
27
|
28
|
29
|
30
|
31
|
|
|
From: Chuck Irvine <Chuck.Irvine@ma...> - 2000-08-22 13:38:20
|
Pat, I've attached a test case that illustrates the possible performance issue referred to in the attached. The testcase instantiates an Interpreter and evaluates a boolean expression string only once. You can change the length of the string by modifying a class field. In addition to using BeanShell to evaluate the expression string, the test case evaluates a pre-parsed, equivalent binary expression tree. Modifying the above mentioned field also increases the size of the expression tree. I evaluate the leaves of the expression tree using Java reflection. If you run the test case you will see that evaluating the pre-parsed expression is much faster (by as much as x100), especially if you bump of the length of the expression string passed to BeanShell. Comments in the main file clarify the forms of the expression string and binary tree. Let me admit up front that comparing the forms of evaluation might be (and probably is, to a certain extent) comparing "apples and oranges". I'm just trying to tune my app and it is appearing that BeanShell expression evaluation is a bottleneck. Any input would be appreciated. If you are interested in running the test case and have question, please let me know. Thanks! Chuck Irvine Sprint -----Original Message----- From: pat [mailto:pat@...] Sent: Tuesday, August 15, 2000 2:44 PM To: beanshell-users Cc: pat Subject: Re: [Beanshell-users] Performance of Expression Evaluation On Tue, Aug 15, 2000 at 11:57:29AM -0500, Chuck Irvine wrote: > I've got an applciation that dynamically evaluates using BeanShell a > boolean expression of the form: > > "Exp && Exp && Exp ...." > where Exp is of the form: (Boolean) object.method(value) > > I'm trying to performance tune my application and I'm finding that > BeanShell expression evaluation is one of my bottlenecks. Experimenting, > I programmically create a parse tree equivalent to the expression passed > to BeanShell and evaluate it using Java reflection. Interestingly, I > find that the latter evaluation performs better by a factor of 100. Is this true even with repeated evaluation or is it just the first call that is slow? As Daniel pointed out on a previous post BeanShell loads a lot of classes lazily (the first time they are used). You might be able to ameliorate this situation by re-using the same interpreter instance. I have not yet done any tuning or performance testing on BeanShell... but I do intend to look into this. I cannot see any reason that bsh should be two orders of magnitude slower than a similar construct after parsing. So it's possible that something is wrong. Thanks, Pat _______________________________________________ Beanshell-users mailing list Beanshell-users@... http://lists.sourceforge.net/mailman/listinfo/beanshell-users |