기존 ExcelJS를 쓰던 프로젝트에 SheetKit을 붙이다가 문득 궁금해져서 벤치마크 스크립트를 만들어보게 시켜보았다. 데이터 유효성 검사 설정을 많이 추가해둔 기존 템플릿 파일에서 SheetKit이 최대 10000배 이상 빠른 결과가 나왔다. 바퀴 재발명 야크 셰이빙이 뿌듯해지는 순간이다.

SheetKit과 ExcelJS의 벤치마크 결과, 모든 영역에서 ExcelJS보다 빠른 결과를 보여주었다.

       Create + Write              12.8x faster
       Buffer Read                  3.1x faster
       Large Write                  2.2x faster
       Large Buffer Read            1.8x faster
       Template (11K)           14376.6x faster
       Template (13K)            5771.4x faster
       EUCAST (2.5MB)               3.3x faster
0

If you have a fediverse account, you can reply to this note from your own instance. Search https://hackers.pub/ap/notes/019c4181-5b5e-7df3-a6d8-e69628c3a5a0 on your instance and reply to it.