java调用本地dll的几种方法性能对比测试

上传者: wzjin | 上传时间: 2021-03-10 15:40:03 | 文件大小: 26.29MB | 文件类型: ZIP
java调用本地dll的几种方法性能对比测试。 JNA消耗的总时间(ms):5406 bridj消耗的总时间(ms):984 JNI消耗的总时间(ms):47 包含c++源码和java源码,部署和使用方法。在win7和winxp下测试用过。 部分源码是来自网络。 分享出来,也算是给自己做个备份。下载分数有点多,评论后会归还分数的。

文件下载

资源详情

[{"title":"( 98 个子文件 26.29MB ) java调用本地dll的几种方法性能对比测试","children":[{"title":"JNATest","children":[{"title":"bin","children":[{"title":"crayon","children":[{"title":"jni","children":[{"title":"JNITest.class <span style='color:#111;'> 459B </span>","children":null,"spread":false},{"title":"TestJNI.class <span style='color:#111;'> 1023B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jna","children":[{"title":"JNATest.class <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"TestJNA.class <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false}],"spread":true},{"title":"bridjtest","children":[{"title":"BridjtestLibrary.class <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"Bridjtest.class <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"crayon","children":[{"title":"jni","children":[{"title":"TestJNI.java <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"JNITest.java <span style='color:#111;'> 173B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"jna","children":[{"title":"JNATest.java <span style='color:#111;'> 268B </span>","children":null,"spread":false},{"title":"TestJNA.java <span style='color:#111;'> 469B </span>","children":null,"spread":false}],"spread":true},{"title":"bridjtest","children":[{"title":"BridjtestLibrary.java <span style='color:#111;'> 795B </span>","children":null,"spread":false},{"title":"Bridjtest.java <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"说明","children":[{"title":"说明.txt <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"二进制文件","children":[{"title":"JNITest.lib <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"JNITest.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"JNATest.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"JNITest.exp <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"说明.txt <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"BridjTest.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"二进制源文件","children":[{"title":"JNATest","children":[{"title":"JNATest.suo <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"JNATest.sln <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"JNATest","children":[{"title":"stdafx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"JNATest.cpp <span style='color:#111;'> 197B </span>","children":null,"spread":false},{"title":"Release","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"JNATest.vcxproj <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"JNATest.vcxproj.filters <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"JNATest.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"JNATest.h <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":null,"spread":false},{"title":"JNATest.sdf <span style='color:#111;'> 22.64MB </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false}],"spread":true},{"title":"JNITest","children":[{"title":"Release","children":[{"title":"JNITest.lib <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"JNITest.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"JNITest.exp <span style='color:#111;'> 939B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"JNITest.h <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"crayon_jni_JNITest.h <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"JNITest.sdf <span style='color:#111;'> 23.08MB </span>","children":null,"spread":false},{"title":"JNITest","children":[{"title":"stdafx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"JNITest.cpp <span style='color:#111;'> 315B </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"JNITest.pch <span style='color:#111;'> 4.25MB </span>","children":null,"spread":false},{"title":"JNITest.lastbuildstate <span style='color:#111;'> 93B </span>","children":null,"spread":false},{"title":"dllmain.obj <span style='color:#111;'> 113.86KB </span>","children":null,"spread":false},{"title":"CL.write.1.tlog <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"CL.read.1.tlog <span style='color:#111;'> 29.70KB </span>","children":null,"spread":false},{"title":"mt.read.1.tlog <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"stdafx.obj <span style='color:#111;'> 247.59KB </span>","children":null,"spread":false},{"title":"mt.command.1.tlog <span style='color:#111;'> 834B </span>","children":null,"spread":false},{"title":"cl.command.1.tlog <span style='color:#111;'> 5.29KB </span>","children":null,"spread":false},{"title":"JNITest.log <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"JNITest.obj <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"link.write.1.tlog <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"link.command.1.tlog <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"link.read.1.tlog <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"JNITest.write.1.tlog <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"JNITest.dll.intermediate.manifest <span style='color:#111;'> 381B </span>","children":null,"spread":false},{"title":"mt.write.1.tlog <span style='color:#111;'> 474B </span>","children":null,"spread":false},{"title":"JNITest.Build.CppClean.log <span style='color:#111;'> 383B </span>","children":null,"spread":false},{"title":"vc100.pdb <span style='color:#111;'> 436.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"JNITest.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"JNITest.vcxproj.filters <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"JNITest.h <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"JNITest.vcxproj <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"crayon_jni_JNITest.h <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":false},{"title":"JNITest.suo <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"JNITest.sln <span style='color:#111;'> 888B </span>","children":null,"spread":false}],"spread":true},{"title":"性能测试.txt <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"BridjTest","children":[{"title":"JNATest","children":[{"title":"stdafx.cpp <span style='color:#111;'> 212B </span>","children":null,"spread":false},{"title":"Release","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 318B </span>","children":null,"spread":false},{"title":"JNATest.vcxproj <span style='color:#111;'> 4.89KB </span>","children":null,"spread":false},{"title":"dllmain.cpp <span style='color:#111;'> 389B </span>","children":null,"spread":false},{"title":"BridjTest.h <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 236B </span>","children":null,"spread":false},{"title":"JNATest.vcxproj.filters <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false},{"title":"JNATest.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"BridjTest.cpp <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false},{"title":"ReadMe.txt <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"BridjTest.lib <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false},{"title":"BridjTest.h <span style='color:#111;'> 524B </span>","children":null,"spread":false},{"title":"BridjTest.exp <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"BridjTest.cpp <span style='color:#111;'> 199B </span>","children":null,"spread":false},{"title":"BridjTest.dll <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"BridjTest.pdb <span style='color:#111;'> 611.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"BridjTest.suo <span style='color:#111;'> 14.50KB </span>","children":null,"spread":false},{"title":"BridjTest.sdf <span style='color:#111;'> 25.39MB </span>","children":null,"spread":false},{"title":"BridjTest.sln <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 431B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"bridj-0.7-SNAPSHOT-20130609.jar <span style='color:#111;'> 886.19KB </span>","children":null,"spread":false},{"title":"jna-3.5.2.jar <span style='color:#111;'> 675.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 回电 :
    正好在研究这方面的内容,谢谢
    2017-05-12
  • Rodgu :
    不错,简单的对比,有用
    2017-04-06
  • 永远依样 :
    测试一下,卡了两天没法调用
    2017-03-14
  • f147277262 :
    先学习一下。正好工作上有需要,谢谢了分享。
    2017-02-08
  • coolhayy :
    先下载看看,分享万岁,后面再去折腾
    2016-12-29
  • stromboy007 :
    很不错的资源,学习了。
    2016-12-13
  • yanyuzuixiaoyao :
    很不错,但是有点简单, 希望能在补充一点
    2016-11-28
  • telecamera :
    函数太简单,目前还没有成功运行,没有详细介绍
    2016-08-09
  • snakeqgm :
    好的没话说,很实用
    2016-03-30
  • PerfectGo :
    我下载之后,为什么不能解压呢,解压的时候说文件已经损坏!~
    2016-02-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明