mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00

Add a micro benchmark for external buffer creation. PR-URL: https://github.com/nodejs/node/pull/54877 Refs: https://github.com/nodejs/node/issues/53804 Refs: https://github.com/nodejs/node/issues/44111 Reviewed-By: Gabriel Schulhof <gabrielschulhof@gmail.com> Reviewed-By: Michael Dawson <midawson@redhat.com>
18 lines
305 B
Python
18 lines
305 B
Python
{
|
|
'targets': [
|
|
{
|
|
'target_name': 'binding',
|
|
'sources': [ 'binding.cc' ],
|
|
'defines': [
|
|
'NAPI_EXPERIMENTAL'
|
|
]
|
|
},
|
|
{
|
|
'target_name': 'binding_node_api_v8',
|
|
'sources': [ 'binding.cc' ],
|
|
'defines': [
|
|
'NAPI_VERSION=8'
|
|
]
|
|
}
|
|
]
|
|
}
|