Code Monkey home page Code Monkey logo

large-amount-data-export's Introduction

基于Apache POI导出大数据量(百万级)Excel的实现

使用POI导出大数据量Excel Demo

项目分别模拟了10W,100W,1048576(xlsx最大支持行数)条数据,进行一次性Excel导出。

测试:

模拟10W条数据,一次性导出用时3秒左右(3736ms);
模拟100W条数据,一次性导出用时26秒左右(26381ms);
模拟1048576条(xlsx最大支持行数)数据,一次性导出用时27秒左右(27834ms);
(测试图例在imgs文件夹内)  

数据测试环境

当然,导出速度也和电脑配置相关,以上数据测试环境如下:
系统:windows 7
处理器:Inter(R) Core(TM)i5-4590 CPU @ 3.30GHz 3.30GHz
内存:16 GB
工具:IntelliJ IDEA

large-amount-data-export's People

Contributors

550690513 avatar

Watchers

brian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.