Cílem práce je vytvoření aplikace pro provedení mikrobechmarku v programovacím jazyce Java. Aplikace porovnává fragmenty kódu a zjišťuje, jaký fragment je proveden nejrychleji. V první části jsou popsány dostupné nástroje, které slouží pro vytvoření mikrobenchmarku v jazyce Java. Z dostupných nástrojů je vybrán nástroj splňující definovaná kritéria. V další části práce je provedena analýza, zda se bude implementovat online, nebo offline aplikace. Na základě analýzy je vytvořena online aplikace pro provádění mikrobenchmarku pomocí nástroje Java Microbenchmark Harness. V poslední části práce je vytvořená aplikace detailně otestována.
Anotace v angličtině
The goal of this thesis is to create an application for microbenchmark executing in the Java programming language. The application compares code snippets to determine which code snippet is executed the fastest. In the first part, there are described available tools that are used to create a microbenchmark. Out of the available tools, it is determined which tool meets the defined criteria. In the next part of the thesis, it is decided whether to implement an online or offline application. According to the analysis, the online version of the application is created. The application used the Java Microbenchmark Harness framework. In the last part of the thesis, the application is thoroughly tested.
Klíčová slova
mikrobenchmark, Java Microbenchmark Harness, Java, online aplikace
Cílem práce je vytvoření aplikace pro provedení mikrobechmarku v programovacím jazyce Java. Aplikace porovnává fragmenty kódu a zjišťuje, jaký fragment je proveden nejrychleji. V první části jsou popsány dostupné nástroje, které slouží pro vytvoření mikrobenchmarku v jazyce Java. Z dostupných nástrojů je vybrán nástroj splňující definovaná kritéria. V další části práce je provedena analýza, zda se bude implementovat online, nebo offline aplikace. Na základě analýzy je vytvořena online aplikace pro provádění mikrobenchmarku pomocí nástroje Java Microbenchmark Harness. V poslední části práce je vytvořená aplikace detailně otestována.
Anotace v angličtině
The goal of this thesis is to create an application for microbenchmark executing in the Java programming language. The application compares code snippets to determine which code snippet is executed the fastest. In the first part, there are described available tools that are used to create a microbenchmark. Out of the available tools, it is determined which tool meets the defined criteria. In the next part of the thesis, it is decided whether to implement an online or offline application. According to the analysis, the online version of the application is created. The application used the Java Microbenchmark Harness framework. In the last part of the thesis, the application is thoroughly tested.
Klíčová slova
mikrobenchmark, Java Microbenchmark Harness, Java, online aplikace