---
title: "Discussion on \"分析JavaScript的性能\" | Hashnode"
description: "Discussion on \"分析JavaScript的性能\". Kirk Pepperdine在一篇新文章中详细讨论了关于JavaScript性能的主题。他的第一个发现是JavaScript引擎规范要比JVM的脆弱的多。有太多的JavaScript实现，各自具有不同的执行环境。除了这一点外，他还深入了下列主题：\nGetters/Setters\n\n……我所遭遇的最具争议的一项建议，在Java世界里已经很久没人提起过了。这项建议是，应该避免使用getter和setter，而应当采用直接访问来避免方法调用的额外开销。这项建议错在哪里？更重要的是，它对在哪里？在Ja..."
url: "https://hashnode.com/posts/javascript-1/628d95eab4bd016fc9a32a97"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [分析JavaScript的性能](https://www.topzs.com/javascript-1?utm_source=hashnode&utm_medium=feed)

Kirk Pepperdine在一篇新文章中详细讨论了关于JavaScript性能的主题。他的第一个发现是JavaScript引擎规范要比JVM的脆弱的多。有太多的JavaScript实现，各自具有不同的执行环境。除了这一点外，他还深入了下列主题： Getters/Setters ……我所遭遇的最具争议的一项建议，在Java世界里已经很久没人提起过了。这项建议是，应该避免使用getter和setter，而应当采用直接访问来避免方法调用的额外开销。这项建议错在哪里？更重要的是，它对在哪里？在Ja...

Feb 28, 2013 · 1 min read · topzs.com  
Updated Jun 10, 2022  
Read the article

## Written by

[Topaz](https://hashnode.com/@tangchang)

@tangchang

  
[View profile](https://hashnode.com/@tangchang)

Front-end development

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
