当前位置:网站首页>POI and easyexcel reading and writing test
POI and easyexcel reading and writing test
2022-04-21 13:50:00 【bingtanghulu_ six】
The interview asked how to optimize excel The problem of loading data too slowly , Deep study excel Read and write , There are two solutions :Apache Of POI And Alibaba open source easyExcel
POI Official website :https://poi.apache.org/
easyExcel Official website :easyexcel: easyexcel —— JAVA analysis Excel Tools Java analysis 、 Generate Excel Well known frameworks are Apache poi、jxl
The source code has been put on the code cloud , Self access required : Geng Hongbo /POITest
100 Ten thousand data test writing basically only needs 8 second , Reading may require 18 About seconds .
1.POI
1.1 POI Write read test
POIWriteTest altogether 5 A way : writeTest:03 Version write test write07Test:07 Test version write03BigDataTest:03 Version large data write test write07BigDataTest:07 Version large data write test write07BetterBigDataTest:07 Version large data write test - Optimized version POIReadTest: And POI Write class correspondence

2.EasyExcel
2.1 EasyExcel Write read test
easyExcel The principle of is equivalent to POI The data that needs to be loaded into memory at one time only needs to be segmented , Multiple loads and writes , There is no guarantee that OOM The situation of , But the test only supports xlsx file .

版权声明
本文为[bingtanghulu_ six]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211346549801.html
边栏推荐
- Unittest unit test (II)
- Programmers burst out their salary, with a monthly salary of 15000 before tax
- 2021-10-20接口测试
- Oracle 的体系结构
- Machine learning notes - SVD singular value decomposition (3) applying SVD to images
- Peking University ACM problems 1010: stamps
- 通过反向传播来实现MNIST识别
- 数据库基础篇
- 2021-10-26协议
- MySQL learning notes - day03
猜你喜欢

c3p0的坑导致并发性能问题

机器学习笔记 - SVD奇异值分解(3) 在图像上应用 SVD

Unittest单元测试(二)

Wechat hidden function series: wechat regular reminder, 2 steps, to relax yourself when you are busy

常见卷积神经网络结构

New technology is coming again, embrace agp7 0, are you ready to say goodbye to transform?

Number II that occurs only once (hash, bit operation, logic circuit, finite state automata)

Unittest unit test (II)

STM32单片机初学5-IIC通信驱动OLED屏幕

第三个项目——PacMan(2)
随机推荐
Unittest unit test (III)
过滤字符串只保留串中的字母字符 (10 分)请编写一个函数fun,函数的功能是:输入一个字符串,过滤此串,只保留串中的字母字符,并统计新生成串中包含的字母个数。
mysql-慢查询日志与索引合并解析
New technology is coming again, embrace agp7 0, are you ready to say goodbye to transform?
Number II that occurs only once (hash, bit operation, logic circuit, finite state automata)
密码模块安全技术要求
Explication détaillée du mécanisme d'allocation de mémoire JVM
Maze walking (BFS)
npm---package. json
MySQL high performance business table structure and index design practice
Common configuration items of echart (line, area, text)
EsgynDB 关于带索引的DELETE性能提升
深度学习与图像识别:原理与实践 笔记Day_14
深度学习与图像识别:原理与实践 笔记Day_15
OpenLDAP使用ldapadd手动添加用户
Do self media and short videos. You don't have to shoot videos yourself. Dazhou teaches you a quick way to start
Web -- user registration interface
Wechat hidden function series: wechat regular reminder, 2 steps, to relax yourself when you are busy
npm---package.json
String - 1. Longueur de la chaîne (10 points) La Bibliothèque de fonctions standard du langage C comprend une fonction strlen qui calcule la longueur de la chaîne. Comme exercice, nous écrivons nous -