Bug 121361 - Add a not completely unrealistic DOM Benchmark
Summary: Add a not completely unrealistic DOM Benchmark
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-14 11:27 PDT by Ryosuke Niwa
Modified: 2013-09-17 23:59 PDT (History)
9 users (show)

See Also:


Attachments
First cut (2.25 MB, patch)
2013-09-17 21:43 PDT, Ryosuke Niwa
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-09-14 11:27:19 PDT
I have done some researches but I couldn't find any benchmark that realistically test what real apps are doing.

As mentioned in https://blog.mozilla.org/nnethercote/2012/08/24/octane-minus-v8/
we shouldn't be testing what we think is a representative of a real app; we should test the real app.

Here, I propose to create a benchmark based on demo apps various JS frameworks have.
Comment 1 Ryosuke Niwa 2013-09-17 21:43:58 PDT
Created attachment 211971 [details]
First cut
Comment 2 Filip Pizlo 2013-09-17 21:58:48 PDT
I think we need a better name!

How about calling it DOMBench?
Comment 3 Ryosuke Niwa 2013-09-17 22:44:33 PDT
(In reply to comment #2)
> I think we need a better name!

Yes!

> How about calling it DOMBench?

That might be too generic?
Comment 4 Filip Pizlo 2013-09-17 22:47:49 PDT
(In reply to comment #3)
> (In reply to comment #2)
> > I think we need a better name!
> 
> Yes!
> 
> > How about calling it DOMBench?
> 
> That might be too generic?

But doesn't it describe what this benchmark is meant to do?

If in the future we think it's not good enough, we can add things to it.

Ideally, a DOM benchmark ought to measure how real programs use the DOM, JS, and other parts of the engine.  This is what this benchmark aspires to do, and it feels like it does it better than other benchmarks.

So, to me, DOMBench feels like an accurate description.
Comment 5 Filip Pizlo 2013-09-17 22:49:03 PDT
RS=me except for the name.
Comment 6 Filip Pizlo 2013-09-17 22:49:41 PDT
Comment on attachment 211971 [details]
First cut

RS=me except for the name.  Land it after we have a better name.  I recommend DOMBench.
Comment 7 Antti Koivisto 2013-09-17 23:59:47 PDT
DOMBench sounds good.