Die Suche ergab 72 Treffer

von ManuelWeiel
18. Nov 2016 16:33
Forum: Archiv
Thema: Ex 02 - Task 2.5 Runnable Test
Antworten: 6
Zugriffe: 688

Re: Ex 02 - Task 2.5 Runnable Test

No. Test is somewhat overloaded in the current task.
Runnable test (in task 2.5) means a program that uses your own performance measurement framework.

Test that use Scalatest and actually test your framework should reside inside the test subfolder and be runnable with sbt test (task 2.6)!
von ManuelWeiel
18. Nov 2016 14:34
Forum: Archiv
Thema: Exercise 2 Task 2
Antworten: 12
Zugriffe: 951

Re: Exercise 2 Task 2

Anyone else of the opinion that the test "PastComparisonTest - "PastComparison" should "detect too slow second execution in both units" is wrong? The test demands that any and all discrepancies between the last and 2nd to last stored results need to be compared for any measurement type. I'm not sur...
von ManuelWeiel
18. Nov 2016 10:01
Forum: Archiv
Thema: Office Hour Today
Antworten: 0
Zugriffe: 114

Office Hour Today

Todays office hour has to be cancelled due to illness...
von ManuelWeiel
17. Nov 2016 13:39
Forum: Archiv
Thema: Consultation hours
Antworten: 3
Zugriffe: 306

Re: Consultation hours

Eigentlich sollte es eine geben. Ich versuche den Tutor zu erreichen...
von ManuelWeiel
17. Nov 2016 11:49
Forum: Archiv
Thema: Ex 02 - About PastComparison's Test case
Antworten: 8
Zugriffe: 826

Re: Ex 02 - About PastComparison's Test case

An execution is also to be considered worse if the value is too low. Imagine a testrun taking 64mb of memory in one run and in the second one it only takes 1mb. There is probably something wrong then, too... Also, keep in mind, that this testing framework is just a "toy" performance measurement fram...
von ManuelWeiel
14. Nov 2016 17:15
Forum: Archiv
Thema: No Lecture on 17.11.
Antworten: 2
Zugriffe: 296

No Lecture on 17.11.

Just a reminder. There will be no lecture on 17.11.
von ManuelWeiel
10. Nov 2016 16:15
Forum: Archiv
Thema: Ex 02 - Task 2.5 Runnable Test
Antworten: 6
Zugriffe: 688

Re: Ex 02 - Task 2.5 Runnable Test

Yes. That's correct. But as PerfSpec already extends App, you will only need to extend any PerfSpec variant (like MemoryEvaluation).
von ManuelWeiel
10. Nov 2016 12:24
Forum: Archiv
Thema: Ex 02 - About PastComparison's Test case
Antworten: 8
Zugriffe: 826

Re: Ex 02 - About PastComparison's Test case

It returns true if for any unit, the last value is either comparisonThreshold*previousWorst higher or lower.
von ManuelWeiel
10. Nov 2016 11:04
Forum: Archiv
Thema: Ex 02 - About PastComparison's Test case
Antworten: 8
Zugriffe: 826

Re: Ex 02 - About PastComparison's Test case

The call to

Code: Alles auswählen

.lastExecutionWorse("42")
is supposed to return a boolean (true if the result is worse). The

Code: Alles auswählen

measure
method would throw an exception if

Code: Alles auswählen

lastExecutionWorse
returns true.
von ManuelWeiel
7. Nov 2016 16:13
Forum: Archiv
Thema: Exercise 2 Task 2
Antworten: 12
Zugriffe: 951

Re: Exercise 2 Task 2

jasonchristian hat geschrieben: Is there any structure for the email's subject and zip file name? e.g. SEDC_exc_01_<matrikel_nummer>
It should be easily visible who submitted (in case the e-mail address isn't clear...). Adding information like matriculation number makes this easier, obviously...
von ManuelWeiel
7. Nov 2016 15:56
Forum: Archiv
Thema: Exercise 2 Task 2
Antworten: 12
Zugriffe: 951

Re: Exercise 2 Task 2

Thank you for the reply. I would assume that the previous measurements won't be available if I re-launch the test using InMemorySerializer. Yes. Last question: I know it's out of context, but I just want to know where I can submit the answer to the exercise? Do we already have the moodle set up tha...
von ManuelWeiel
7. Nov 2016 13:45
Forum: Archiv
Thema: Exercise 2 Task 2
Antworten: 12
Zugriffe: 951

Re: Exercise 2 Task 2

That's why we want you to implement an InMemorySerializer. You can easily implement this and also use it to e.g. print your results to console as well... But having no Serializer is probably not desirable (while designing your stackable traits pattern you might also get an "automatic" answer to the...
von ManuelWeiel
7. Nov 2016 10:02
Forum: Archiv
Thema: Exercise 2 Task 2
Antworten: 12
Zugriffe: 951

Re: Exercise 2 Task 2

Should it be possible to run an Evaluation without providing a Serializer? For example: Since the test result is only recorded in a Serializer it does not seem to make sense to not require a Serlializer mixed in. That's why we want you to implement an InMemorySerializer. You can easily implement th...
von ManuelWeiel
4. Nov 2016 15:10
Forum: Archiv
Thema: Exercise 02 delayed
Antworten: 5
Zugriffe: 414

Re: Exercise 02 delayed

The full exercise is now available on the website.
von ManuelWeiel
3. Nov 2016 14:02
Forum: Archiv
Thema: Exercise 02 delayed
Antworten: 5
Zugriffe: 414

Re: Exercise 02 delayed

No. I would suggest adding it to the implementation of exercise 1, as it is also very related to that exercise...

Zur erweiterten Suche