This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<beans:beans xmlns="http://www.springframework.org/schema/security" | |
xmlns:beans="http://www.springframework.org/schema/beans" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.springframework.org/schema/beans | |
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.springframework.org/schema/security | |
http://www.springframework.org/schema/security/spring-security.xsd"> | |
<http pattern="/css/**" security="none"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@EnableWebMvcSecurity | |
@ComponentScan(basePackageClasses = UserRepositoryUserDetailsService.class) | |
public class WebSecurityConfiguration extends WebSecurityConfigurerAdapter { | |
@Autowired | |
private UserDetailsService userDetailsService; | |
@Configuration | |
@EnableGlobalMethodSecurity(prePostEnabled = true) | |
static class MethodSecurityConfiguration extends GlobalMethodSecurityConfiguration { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.27", | |
"benchmark" : "io.evitadb.spike.ArrayOrHashMap.retrieveValueFromArray", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk11.0.10/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.27", | |
"benchmark" : "io.evitadb.spike.ArrayOrHashMap.retrieveValueFromArray", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk11.0.10/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.27", | |
"benchmark" : "io.evitadb.spike.ArrayOrHashMap.retrieveValueFromArray", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk11.0.10/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.27", | |
"benchmark" : "io.evitadb.spike.ArrayOrHashMap.retrieveValueFromArray", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk11.0.10/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.27", | |
"benchmark" : "io.evitadb.spike.ArrayOrHashMap.retrieveValueFromArray", | |
"mode" : "thrpt", | |
"threads" : 1, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk11.0.10/bin/java", | |
"jvmArgs" : [ | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String book = "This represents contents of the book."; | |
final Function<String, IntSupplier> wordCounter = aString -> | |
() -> aString.split("\\s+").length; | |
final IntSupplier curry = wordCounter.apply(book); | |
int countBeforeChange = curry.getAsInt(); | |
book = "Book contents has been changed as of now."; | |
int countAfterChange = curry.getAsInt(); | |
System.out.print( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StringBuilder book = new StringBuilder("This represents contents of the book."); | |
final Function<StringBuilder, IntSupplier> wordCounter = aString -> | |
() -> aString.toString().split("\\s+").length; | |
final IntSupplier curry = wordCounter.apply(book); | |
int countBeforeChange = curry.getAsInt(); | |
book.setLength(0); | |
book.append("Book contents has been changed as of now."); | |
int countAfterChange = curry.getAsInt(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"jmhVersion" : "1.35", | |
"benchmark" : "one.edee.oss.http_server_evaulation_test.jmh.ServersThroughputBenchmark.graphQLApiEchoQuery_JavalinServer", | |
"mode" : "thrpt", | |
"threads" : 4, | |
"forks" : 1, | |
"jvm" : "/opt/Java/jdk-17.0.2/bin/java", | |
"jvmArgs" : [ | |
], |