ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
bench_freebusygenerator.php File Reference

Go to the source code of this file.

Functions

 formatMemory ($input)
 

Variables

 $bench = new Hoa\Bench\Bench()
 
 $vcal = Sabre\VObject\Reader::read(fopen($inputFile, 'r'))
 
 $repeat = 100
 
 $start = new \DateTime('2000-01-01')
 
 $end = new \DateTime('2020-01-01')
 
 $timeZone = new \DateTimeZone('America/Toronto')
 
 n
 

Function Documentation

◆ formatMemory()

formatMemory (   $input)

Definition at line 45 of file bench_freebusygenerator.php.

References $input, and $splitter.

45  {
46 
47  if (strlen($input) > 6) {
48 
49  return round($input / (1024 * 1024)) . 'M';
50 
51  } elseif (strlen($input) > 3) {
52 
53  return round($input / 1024) . 'K';
54 
55  }
56 
57 }

Variable Documentation

◆ $bench

$bench = new Hoa\Bench\Bench()

Definition at line 19 of file bench_freebusygenerator.php.

◆ $end

$end = new \DateTime('2020-01-01')

Definition at line 28 of file bench_freebusygenerator.php.

Referenced by Sabre\VObject\Recur\EventIterator\__construct(), ilCourseContentGUI\__renderItem(), ilCourseContentGUI\__renderUserItem(), ilGroupXMLParser\__save(), _DiffEngine\_lcs_pos(), Text_Diff_Engine_native\_lcsPos(), ilObjGroupAccess\_registrationEnabled(), ilTimingCache\_showWarning(), ilObjRemoteCourseGUI\addCustomEditForm(), ilObjRemoteGroupGUI\addCustomEditForm(), ilObjRemoteTestGUI\addCustomEditForm(), ilCalendarScheduleFilterTimings\addCustomEvents(), ilObjectActivation\addListGUIActivationProperty(), ilAccountCode\applyAccessLimits(), PHPMailer\PHPMailer\PHPMailer\base64EncodeWrapMB(), ilBcryptPhpPasswordEncoder\benchmarkCost(), ilDBGenerator\buildDBGenerationScript(), sspmod_expirycheck_Auth_Process_ExpiryDate\checkDate(), SimpleSAML_Utilities\checkDateConditions(), SimpleSAML\XML\Shib13\AuthnResponse\checkDateConditions(), ilObjSurvey\checkReminder(), ilDBGenerator\closeFile(), ilDownloadFilesBackgroundTask\collectFiles(), colorize(), ilObjBookingPoolGUI\confirmedBookingNumbersObject(), ilCalendarViewGUI\countEventsInView(), ilConsultationHoursGUI\createAppointments(), ilCalendarExport\createVEVENT(), PhpOffice\PhpSpreadsheet\Calculation\Financial\CUMIPMT(), PhpOffice\PhpSpreadsheet\Calculation\Financial\CUMPRINC(), ilObjUser\deleteUserDefinedFieldEntries(), ILIAS\FileDelivery\FileDeliveryTypes\PHPChunked\deliver(), ilCourseContentGUI\editTimings(), getid3_lib\EmbeddedLookup(), Sabre\VObject\Component\VCalendar\expand(), ilECSAppEventListener\extendAccount(), ilBPMN2ParserUtils\extractTimeDateEventDefinitionFromElement(), ilBlockGUI\fillDetailRow(), ilTable2GUI\fillFooter(), ilBlockGUI\fillPreviousNext(), ilCourseRegistrationGUI\fillRegistrationPeriod(), ilGroupRegistrationGUI\fillRegistrationPeriod(), ilPollBlockGUI\fillRow(), GeSHi\finalise(), HTMLPurifier_Arborize\flatten(), Sabre\CalDAV\ICSExportPlugin\generateResponse(), ilLearningSequenceActivationDB\getActivationForRefId(), ilPageObject\getActive(), ilCharSelectorConfig\getCharPages(), ilCalendarViewGUI\getDatesForItem(), ilCalendarBlockGUI\getDatesForItem(), Sabre\CalDAV\Backend\PDO\getDenormalizedData(), Sabre\VObject\Recur\EventIterator\getDtEnd(), ilCalendarHeaderNavigationGUI\getHTML(), ilCalendarAgendaListGUI\getHTML(), Sabre\VObject\Property\ICalendar\Period\getJsonValue(), ilAdvancedMDFieldDefinitionDate\getLuceneSearchString(), ilAdvancedMDFieldDefinitionDateTime\getLuceneSearchString(), ilTimingPlaned\getPlanedEndingTime(), ilChatroomFormFactory\getSessionForm(), SimpleSAML\XML\Shib13\AuthnResponse\getSessionIndex(), ilObjCourse\getSubItems(), ilWorkflowScaffold\getTimeDateEventDefinition(), ZipStream\Bigint\getValue(), ilExerciseDataSet\getXmlRecord(), ilPCSection\handleAccess(), getid3_lib\hash_data(), Sabre\DAV\CorePlugin\httpGet(), Sabre\CalDAV\ICSExportPlugin\httpGet(), TCPDF\ImageEps(), ilADTDateSearchBridgeRange\importFromPost(), ilADTDateTimeSearchBridgeRange\importFromPost(), ilSessionDataSet\importRecord(), ilExerciseDataSet\importRecord(), ilObjectActivationGUI\initFormEdit(), ilObjSurveyGUI\initPropertiesForm(), ilLearningSequenceActivationDB\insert(), ilPCSection\insertTimings(), PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Cumulative\interest(), ilSurveyParticipantsGUI\isAnonymousListActive(), ilTimingCache\isWarningRequired(), ActiveRecordList\limit(), ActiveRecord\limit(), ilCalendarAppointmentGUI\load(), ilObjSessionGUI\loadRecurrenceSettings(), ilObjGroupAccess\lookupPeriodInfo(), ilObjCourseAccess\lookupPeriodInfo(), ilPortfolioPageGUI\makePlaceHoldersClickable(), ilCalendarScheduleFilterBookingPool\modifyEvent(), ilPCPlaceHolder\modifyPageContentPostXsl(), ilPCLearningHistory\modifyPageContentPostXsl(), ilPCAMDPageList\modifyPageContentPostXsl(), ilPCContentInclude\modifyPageContentPostXsl(), ilPCPlugged\modifyPageContentPostXsl(), ilPCMap\modifyPageContentPostXsl(), Twig_TokenParser_If\parse(), ilCalendarWeekGUI\parseHourInfo(), ilCalendarDayGUI\parseInfoIntoRaster(), SimpleSAML\Utils\Crypto\pem2der(), PhpOffice\PhpSpreadsheet\Calculation\Financial\CashFlow\Constant\Periodic\Cumulative\principal(), ilUtil\rangeDownload(), Securimage\readCodeFromFile(), ilCalendarRegistration\register(), ilTableGUI\render(), ilPageObjectGUI\replaceCurlyBrackets(), ilObjSurveyGUI\savePropertiesObject(), GeSHi\set_time(), ilECSCategoryMappingRule\setDateRangeEnd(), ilLPTableBaseGUI\showTimingsWarning(), sspmod_expirycheck_Auth_Process_ExpiryDate\shWarning(), ilLearningSequenceActivationDB\store(), sspmod_statistics_Aggregator\store(), ilAssLacConditionParser\surroundNegationExpression(), Sabre\VObject\Component\VCalendarTest\testExpand(), Sabre\VObject\Component\VEventTest\testInTimeRange(), Sabre\VObject\Component\VJournalTest\testInTimeRange(), Sabre\VObject\Component\VTodoTest\testInTimeRange(), Sabre\VObject\Component\VAlarmTest\testInTimeRange(), HTMLPurifier_Lexer_DirectLex\tokenizeHTML(), HTMLPurifier_Node_Element\toTokenPair(), TCPDF_FONTS\UniArrSubString(), ilObjLearningSequenceSettingsGUI\update(), TCPDF_FONTS\UTF8ArrSubString(), Sabre\CalDAV\CalendarQueryValidator\validateTimeRange(), PhpOffice\PhpSpreadsheet\Writer\Ods\Content\writeCellMerge(), and ilICalParser\writeEvent().

◆ $repeat

◆ $start

$start = new \DateTime('2000-01-01')

Definition at line 27 of file bench_freebusygenerator.php.

◆ $timeZone

◆ $vcal

$vcal = Sabre\VObject\Reader::read(fopen($inputFile, 'r'))

Definition at line 22 of file bench_freebusygenerator.php.

Referenced by Sabre\VObject\Component\VCardTest\assertValidate(), Sabre\VObject\Component\VCalendarTest\assertValidate(), Sabre\VObject\ITip\BrokerTester\process(), Sabre\VObject\Component\AvailableTest\testAvailableComponent(), Sabre\VObject\Component\VAvailabilityTest\testAvailableSubComponent(), Sabre\VObject\Component\VCalendarTest\testBrokenEventExpand(), Sabre\VObject\Recur\EventIterator\MainTest\testComplexExclusions(), Sabre\VObject\DocumentTest\testCreate(), Sabre\VObject\DocumentTest\testCreateComponent(), Sabre\VObject\Recur\EventIterator\MainTest\testDaily(), Sabre\VObject\Recur\EventIterator\MainTest\testDailyByDay(), Sabre\VObject\Recur\EventIterator\MainTest\testDailyByDayByHour(), Sabre\VObject\Recur\EventIterator\MainTest\testDailyByHour(), Sabre\VObject\DocumentTest\testDestroy(), Sabre\VObject\SlashRTest\testEncode(), Sabre\VObject\Recur\EventIterator\MaxInstancesTest\testExceedMaxRecurrences(), Sabre\VObject\Issue48Test\testExpand(), Sabre\VObject\Issue50Test\testExpand(), Sabre\VObject\Recur\EventIterator\MissingOverriddenTest\testExpand(), Sabre\VObject\Recur\ByMonthInDailyTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpand(), Sabre\VObject\Recur\EventIterator\Issue26Test\testExpand(), Sabre\VObject\Recur\EventIterator\HandleRDateExpandTest\testExpand(), Sabre\VObject\Recur\EventIterator\IncorrectExpandTest\testExpand(), Sabre\VObject\Component\VCalendarTest\testExpand(), Sabre\VObject\Recur\BySetPosHangTest\testExpand(), Sabre\VObject\Recur\EventIterator\ExpandFloatingTimesTest\testExpandWithReferenceTimezone(), Sabre\VObject\Recur\EventIterator\MainTest\testFastForward(), Sabre\VObject\Recur\EventIterator\MainTest\testFastForwardAllDayEventThatStopAtTheStartTime(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponent(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentNoResult(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentWithFilter(), Sabre\VObject\Component\VCalendarTest\testGetBaseComponentWithFilterNoResult(), Sabre\VObject\DocumentTest\testGetClassNameForPropertyValue(), Sabre\CalDAV\ICalendar\DurationTest\testGetDateInterval(), Sabre\VObject\Component\VAvailabilityTest\testGetEffectiveStartDuration(), Sabre\VObject\Component\AvailableTest\testGetEffectiveStartEnd(), Sabre\VObject\Component\VAvailabilityTest\testGetEffectiveStartEnd(), Sabre\VObject\Component\AvailableTest\testGetEffectiveStartEndDuration(), Sabre\VObject\Component\VAvailabilityTest\testGetEffectiveStartEndUnbound(), Sabre\CalDAV\ICalendar\RecurTest\testGetJSONWithCount(), Sabre\CalDAV\ICalendar\RecurTest\testGetJSONWithUntil(), Sabre\VObject\Recur\EventIterator\MainTest\testHourly(), Sabre\VObject\Recur\EventIterator\MainTest\testInvalidFreq(), Sabre\VObject\Component\VAvailabilityTest\testIsInTimeRangeOutside(), Sabre\VObject\Component\VAvailabilityTest\testIsInTimeRangeUnbound(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthly(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthlyByDay(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthlyByDayByMonthDay(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthlyByDayBySetPos(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthlyByMonthDay(), Sabre\VObject\Recur\EventIterator\MainTest\testMonthlyEndOfMonth(), Sabre\VObject\Recur\EventIterator\MainTest\testNoMasterBadUID(), Sabre\VObject\Recur\EventIterator\MainTest\testNoRRULE(), Sabre\VObject\RecurrenceIterator\OverrideFirstEventTest\testOverrideFirstEvent(), Sabre\VObject\Recur\EventIterator\MainTest\testOverridenEvent(), Sabre\VObject\Recur\EventIterator\MainTest\testOverridenEvent2(), Sabre\VObject\Recur\EventIterator\MainTest\testOverridenEventNoValuesExpected(), Sabre\VObject\ICalendar\AttachParseTest\testParseAttach(), Sabre\CalDAV\ICalendar\RecurTest\testParts(), Sabre\VObject\Recur\EventIterator\MainTest\testRDATE(), Sabre\VObject\Recur\NoInstancesTest\testRecurrence(), Sabre\VObject\RecurrenceIterator\OverrideFirstEventTest\testRemoveFirstEvent(), Sabre\CalDAV\ICalendar\RecurTest\testSetSubParts(), Sabre\CalDAV\ICalendar\RecurTest\testSetValueBadVal(), Sabre\CalDAV\ICalendar\RecurTest\testSetValueWithCount(), Sabre\CalDAV\CalendarQueryValidatorTest\testTopLevelFail(), Sabre\VObject\Component\VCalendarTest\testValidateCorrect(), Sabre\VObject\Component\VCalendarTest\testValidateDoubleCalScale(), Sabre\VObject\Component\VCalendarTest\testValidateDoubleMethod(), Sabre\VObject\Component\VCalendarTest\testValidateNoProdId(), Sabre\VObject\Component\VCalendarTest\testValidateNoVersion(), Sabre\VObject\Component\VCalendarTest\testValidateOneMasterEvent(), Sabre\CalDAV\ICalendar\RecurTest\testValidateStripEmpties(), Sabre\CalDAV\ICalendar\RecurTest\testValidateStripNoFreq(), Sabre\VObject\Component\VCalendarTest\testValidateTwoMasterEvents(), Sabre\VObject\Component\VCalendarTest\testValidateWrongVersion(), Sabre\VObject\Recur\EventIterator\MainTest\testValues(), Sabre\VObject\Component\VAvailabilityTest\testVAvailabilityComponent(), Sabre\VObject\Recur\EventIterator\MainTest\testVCalendarInvalidUID(), Sabre\VObject\Recur\EventIterator\MainTest\testVCalendarNoUID(), Sabre\VObject\Recur\EventIterator\MainTest\testWeekly(), Sabre\VObject\Recur\EventIterator\MainTest\testWeeklyByDay(), Sabre\VObject\Recur\EventIterator\MainTest\testWeeklyByDayByHour(), Sabre\VObject\Recur\EventIterator\MainTest\testWeeklyByDaySpecificHour(), Sabre\VObject\Recur\EventIterator\MainTest\testYearly(), Sabre\VObject\Recur\EventIterator\MainTest\testYearlyByMonth(), Sabre\VObject\Recur\EventIterator\MainTest\testYearlyByMonthByDay(), and Sabre\VObject\Recur\EventIterator\MainTest\testYearlyLeapYear().

◆ n

n

Definition at line 43 of file bench_freebusygenerator.php.