[CalendarServer-changes] [15108] CalendarServer/branches/users/sredmond/clientsim/contrib/ performance/loadtest
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 4 16:26:10 PDT 2015
Revision: 15108
http://trac.calendarserver.org//changeset/15108
Author: sredmond at apple.com
Date: 2015-09-04 16:26:10 -0700 (Fri, 04 Sep 2015)
Log Message:
-----------
Final commit?
Modified Paths:
--------------
CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/distributions.py
CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/ical.py
CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/profiles.py
Modified: CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/distributions.py
===================================================================
--- CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/distributions.py 2015-09-04 20:37:34 UTC (rev 15107)
+++ CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/distributions.py 2015-09-04 23:26:10 UTC (rev 15108)
@@ -17,8 +17,6 @@
"""
Implementation of a statistics library for Calendar performance analysis.
Exports:
-Base statistical functions
- mean / median / stddev / mad / residuals
IDistribution interface exposes:
sample()
Modified: CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/ical.py
===================================================================
--- CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/ical.py 2015-09-04 20:37:34 UTC (rev 15107)
+++ CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/ical.py 2015-09-04 23:26:10 UTC (rev 15108)
@@ -1022,12 +1022,12 @@
from pprint import pprint
# Trigger auto-complete behavior
matchingPrincipals = yield self._principalSearchReport(query, isAttendeeSearch=individual)
- for k, v in matchingPrincipals.items():
- pprint(k)
- for prop, val in v.getNodeProperties().items():
- print("%s %s" % (prop, val.__dict__))
- for child in val._children:
- print(child.text)
+ # for k, v in matchingPrincipals.items():
+ # pprint(k)
+ # for prop, val in v.getNodeProperties().items():
+ # # print("%s %s" % (prop, val.__dict__))
+ # for child in val._children:
+ # # print(child.text)
uuids = []
Modified: CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/profiles.py
===================================================================
--- CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/profiles.py 2015-09-04 20:37:34 UTC (rev 15107)
+++ CalendarServer/branches/users/sredmond/clientsim/contrib/performance/loadtest/profiles.py 2015-09-04 23:26:10 UTC (rev 15108)
@@ -683,7 +683,7 @@
"""
Profile that will cancel or remove any double- or more-booked events
"""
- # def
+ events = sum([calendar.events.values() for ])
class Emptier(EventDeleter):
@@ -894,11 +894,9 @@
"""
def setDistributions(
self,
- enabled=True,
acceptDelayDistribution=NormalDistribution(1200, 60),
acceptLikelihoodDistribution=BernoulliDistribution(1),
):
- self.enabled = enabled
self._accepting = set()
self._acceptDelayDistribution = acceptDelayDistribution
self._acceptLikelihood = acceptLikelihoodDistribution
@@ -1049,14 +1047,14 @@
"""
A calendar user who interacts with calendars
"""
- def initialize(self):
- self.action = lambda: None
- return succeed(None)
+ # def initialize(self):
+ # self.action = lambda: None
+ # return succeed(None)
- def setDistributions(self, enabled=True, interval=25):
- self.enabled = enabled
- self._interval = interval
+ # def setDistributions(self, enabled=True, interval=25):
+ # self.enabled = enabled
+ # self._interval = interval
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150904/00dbe57b/attachment.html>
More information about the calendarserver-changes
mailing list