最新文章列表

Java Benchmark 基准测试

import java.util.Arrays; import java.util.concurrent.TimeUnit; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jmh.annotations ...
hpgary 评论(0) 有1396人浏览 2017-03-08 17:27

在eclipse中运行jmh

JMH是OpenJDK开发的微基准测试框架。 编写完测试后,可以通过maven进行构建 mvn clean package,然后会得到一个可执行的独立jar包,执行java -jar target/benchmarks.jar可以运行测试程序。 如果直接在eclipse里运行测试程序会得到错误, Exception in thread "main" java.lang.Runti ...
szhnet 评论(0) 有4055人浏览 2016-09-07 12:20

std::shared_mutex和std::mutex的性能对比(banchmark)

原文作者:@玄冬Wong 转载请注明原文出处:http://aigo.iteye.com/blog/2296462 key world: std::shared_mutex、std::mutex、performance、benchmark、性能测试   shared_mutex的适用场景比较特殊:一个或多个读线程同时读取共享资源,且只有一个写线程来修改这个资源,这种情况下才能从share ...
aigo 评论(0) 有6449人浏览 2016-05-06 23:39

Golang lock-free values with atomic.Value(benchmark)

  Golang lock-free values with atomic.Value https://texlution.com/post/golang-lock-free-values-with-atomic-value/    
aigo 评论(0) 有1689人浏览 2016-04-21 13:25

[C++11]std::mutex和std::atomic的性能测试对比(benchmark)

key word:std::mutex、std::atomic、benchmark、performance   原文作者:@玄冬Wong   测试案例:8个线程分别执行1250万次累加和累减,累加的最终结果为10亿,累减的最终结果为0。   /*********************************************************************** ...
aigo 评论(0) 有4479人浏览 2016-04-21 12:28

多个生产者多个消费者:boost::lockfree::queue和std::mutex的性能对比(benchmark)

原文作者:@玄冬Wong key word:Non-blocking、Blocking、multi-productor、multi-customer、benchmark、performance   /************************************************************************/ /* 测试多个生产者多个消费者线程环境下, ...
aigo 评论(0) 有4361人浏览 2016-04-20 21:45

[C++]阻塞和非阻塞的队列的性能对比(Non-BlockingQueue&BlockingQueue benchmark)

关键字:阻塞队列、非阻塞队列、性能对比、Non-BlockingQueue、BlockingQueue、benchmark、Performance   原文作者:@玄冬Wong 转载请注明出处:http://aigo.iteye.com/blog/2292169 对阻塞和非阻塞队列进行测试: 1,用boost::lockfree::spsc_queue非阻塞队列;(注:spsc_que ...
aigo 评论(0) 有8860人浏览 2016-04-19 11:32

Comparing two sorting algorithms

Generally we compare algorithms by ■ Implementing and debugging them ■ Analyzing their basic properties ■ Formulating a hypothesis about comparative performance ■ Running experiments to validate ...
sunwinner 评论(0) 有774人浏览 2013-11-19 21:16

TPC-H on Hive

TPC-H是数据库/数据仓库选型决策用的benchmark。它是世界公认的benchmark,由一套面向业务的数据查询和并发数据更新组成。百度文库里有个文档写的还不错。   Jia, Yuntao在HIVE-600中提交了TPC-H的hive driver。Driver由shell脚本作为bootstrap,由一系列HQL文件组成,总共22个benchmark。Driver中并不包含原始数据, ...
joshuasabrina 评论(0) 有1405人浏览 2013-06-10 20:37

postgresql 性能调优介绍

关于postgresql的性能参数,主要以下5个起重要作用: shared_buffers:这是最重要的参数,postgresql通过shared_buffers和内核和磁盘打交道,因此应该尽量大,让更多的数据缓存在shared_buffers中。通常设置为实际RAM的10%是合理的,比如50000(400M)     work_mem: 在pgsql 8.0之前叫做sort_mem。postg ...
qqkou 评论(0) 有1330人浏览 2013-04-15 20:57

Rails应用性能优化(一)-RailsConf2006

是否觉得你的Rails应用响应速度过于缓慢呢?这是RailsConf2006上的一篇关于Rails应用性能优化的演讲稿,希望能够对你有所帮助。 在优化你的应用之前, ...
fireDragonpzy 评论(0) 有1034人浏览 2012-05-28 08:43

Siege 使用笔记

Siege 是一款开源的http/https回归(性能)测试的工具。 测试环境: siege.i686 (2.72-2.fc16) Linux version 3.3.2-6.fc16.i686 (Fedora16) 1. 安装siege a.yum list | grep siege b.sudo yum -y install siege.i686 2. 简单测试 siege -c10 ...
joy2everyone 评论(0) 有4026人浏览 2012-05-07 18:22

实战:使用JMeter的Java Sampler轻松定制自己的benchmark

以前碰到更多的是WEB APP的性能测试,也许用得最多的是Loadrunner, Web Stress tool之类的常态化工具,从没考虑过对于后端引擎类的测试是怎样的。   现在 ...
itstarting 评论(0) 有4417人浏览 2012-05-06 22:08

如何查看一个rails方法花费的时间,毫秒级

Benchmark.realtime{     #此处加方法 }
guduxiaoxian 评论(0) 有1202人浏览 2012-01-17 19:24

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics