Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 92641 Details for
Bug 116487
create performance test harness
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
ContextPerformanceTest
ContextPerformanceTest.java (text/plain), 1.39 KB, created by
Jingwen 'Owen' Ou
on 2008-03-15 22:26:59 EDT
(
hide
)
Description:
ContextPerformanceTest
Filename:
MIME Type:
Creator:
Jingwen 'Owen' Ou
Created:
2008-03-15 22:26:59 EDT
Size:
1.39 KB
patch
obsolete
>/******************************************************************************* > * Copyright (c) 2004, 2007 Mylyn project committers and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at > * http://www.eclipse.org/legal/epl-v10.html > *******************************************************************************/ > >package org.eclipse.mylyn.context.tests.performance; > >import org.eclipse.mylyn.context.tests.MockInteractionContextManager; >import org.eclipse.test.performance.PerformanceTestCase; > >//TODO: find more typical tsetdata(only 280 entries here) >public class ContextPerformanceTest extends PerformanceTestCase { > > private MockInteractionContextManager contextManager; > > private static String path = "testdata/performance/activity-2008-3-15.xml.zip"; > > @Override > protected void setUp() throws Exception { > // ignore > super.setUp(); > > contextManager = new MockInteractionContextManager(); > } > > @Override > protected void tearDown() throws Exception { > // ignore > super.tearDown(); > } > > public void testReadContext() { > > for (int i = 0; i < 10; i++) { > startMeasuring(); > contextManager.loadActivityMetaContextFromFile(path); > stopMeasuring(); > } > commitMeasurements(); > assertPerformance(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 116487
:
83034
|
83035
|
92635
|
92636
|
92637
|
92638
|
92639
|
92640
| 92641 |
92642
|
92643
|
92644
|
95149
|
95791
|
95792
|
96692
|
96728
|
97960
|
146251