husterknupp / psychic-thread-adventure Goto Github PK
View Code? Open in Web Editor NEWDiscovery on performance and effort aspects of multithreaded programming. Regard simple algorithms like Mergesort algorithm.
Discovery on performance and effort aspects of multithreaded programming. Regard simple algorithms like Mergesort algorithm.
I want to have a way to run the algorithm in multiple threads. In a second step I want to be able to set the number of threads. The algorithm should use exactly this set numbers of threads for the calculation.
I want to clock the time needed for
Count of numbers should be 10, 1.000, 1.000.000.
I want to show the results of the sorting. For details see #4. These information should be displayed in an easy to understand manner. It will be sufficient to have the results in text form for now. The code will provide required data in a log file.
As discussed in #3 for now, it will be sufficient to simply log the required information.
Problem
No information on any statistic can be consulted, yet.
Solution
Find reasonable positions in the program where to log statistics and do the logging. Use a logging library like log4j
.
Acceptance Criterium
System.out
that reflect the sorting scenario.Problem
No multithreaded sorting can be benchmarked, yet.
Solution
Based on the single threaded Version of Mergesort I would like to have a way to run the algorithm in multiple threads. In a second step I want to be able to set the number of threads. The algorithm should use exactly this set numbers of threads for the calculation.
Acceptance Criteria
Results of sorting different counts of numbers using two threads can be found in the log.
Problem
No algorithm can be used to measure anything, yet.
Solution
Implement Mergesort algorithm using Java. Do not split execution paths in threads at this point. Develop test driven.
Acceptance Criteria
It will be sufficient for the algorithm to be runnable from within an IDE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.