wcpro's Introduction
wcPro项目介绍: wcPro有7个模块分别功能与接口如下: com.param: 参数解析模块,向com.ui,com.in提供输入接口 com.in: 输入模块,向com.core提供获取单词的接口 com.core: 核心模块,通过com.in提供的单词,进行保存统计,排序, 然后向com.out模块提供前100的单词 com.out: 输出模块,主要用于从com.core中获取数据然后输出 com.ui: 提供一个文件选择器的图形界面,向com.core提供输入文件 com.util: 工具模块,主要用于为整个项目提供一些工具方法 start: 启动模块,用于集成其他模块。 小组分工: mzl(17056):com.core,com.in,start dgf(17063):com.out wjz(17051):com.param wyz(17042):com.util,com.ui 静态检查工具:p3c 针对p3c检查出来的问题进行修改 性能优化: 主要有以下几个地方 1.改进排序算法 2.改变文件的缓冲区大小 3.减少文件读写操作 4.散列表的初始空间大小 5.设置jvm启动的堆内存大小 性能度量环境 1.文件1K,缓冲区一个字节 其他使用默认值 时间0.034 2.文件40M,原有的程序运行时间>1分钟 改进后缓冲区4K,散列表512K,使用堆排序算法 写文件使用StringBuilder 一次写入 时间3.802s
wcpro's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.